基本

POST

curl -X POST -d "key1=value1" https://www.example.com"

PARAM="hoge=fuga" curl -X POST -d $PARAM URL

応用

Digest認証curl --digest -u ID:PW URL
curl http://www.google.com
curl -L http://www.google.com
crul -u ID:PW http://URL/
curl -o /dev/null --silent --head --write-out '%{http_code}\n' http://www.google.co.jp/
curl -H 'Host:tools.rutake.com' "https://tools.rutake.com/"

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-10-14 (金) 13:16:53