- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務經(jīng)營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會理事單位
- 安全聯(lián)盟認證網(wǎng)站身份V標記
- 域名注冊服務機構(gòu)許可:滇D3-20230001
- 代理域名注冊服務機構(gòu):新網(wǎng)數(shù)碼
# -v 參數(shù)輸出通信的整個過程,用于調(diào)試
curl -v -I http://www.tjdsmy.cn
# -x 指定http代理訪問
curl -I www.tjdsmy.cn -x 127.0.0.1:80
# -e 參數(shù)用來設置 HTTP 的標頭Referer
curl -I http://www.tjdsmy.cn -e "http://www.tjdsmy.cn/"
# -A 設置user-agent
curl -I http://www.tjdsmy.cn -A "Baiduspider"
# -L 參數(shù)會讓 HTTP 請求跟隨服務器的重定向。curl默認不跟隨重定向
curl -L -I http://www.tjdsmy.cn
# -k 參數(shù)指定跳過SSL檢測,不會檢查服務器的SSL證書是否正確
curl -k http://www.tjdsmy.cn
# --limit-rate用來限制 HTTP 請求和回應的帶寬,模擬慢網(wǎng)速的環(huán)境
curl --limit-rate 200k http://www.tjdsmy.cn
# -s 參數(shù)將不輸出錯誤和進度信息。
curl -s http://www.tjdsmy.cn
#-S 參數(shù)指定只輸出錯誤信息,通常與-s一起使用。
curl -S -s -o /dev/null http://www.tjdsmy.cn
# -R :Set the remote file's time on the local output
curl -OR http://www.tjdsmy.cn/1.html
# -X 參數(shù)指定 HTTP 請求的方法
curl -X POST http://www.tjdsmy.cn
# 不需要修改/etc/hosts,curl直接解析ip請求域名
curl --resolve www.tjdsmy.cn:80:127.0.0.1 http://www.tjdsmy.cn/
curl --resolve www.tjdsmy.cn:443:127.0.0.1 http://www.tjdsmy.cn/
提交成功!非常感謝您的反饋,我們會繼續(xù)努力做到更好!
這條文檔是否有幫助解決問題?
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP