Skip to content

Instantly share code, notes, and snippets.

@ogaty
Last active November 3, 2018 01:35
Show Gist options
  • Save ogaty/8c6c5ad07a94e57933b444a8059c0602 to your computer and use it in GitHub Desktop.
Save ogaty/8c6c5ad07a94e57933b444a8059c0602 to your computer and use it in GitHub Desktop.
curl
  • curl -A "USER_AGENT" http://www.example.com
  • curl -b cookie.txt(設定)
  • curl -c cookie.txt(保存)
  • curl -d data設定
  • curl -H request Header
  • curl -i header+HTML
  • curl -I headerのみ
  • curl -k ssl無視
  • curl -L redirect追従
  • curl -o ファイル保存
  • curl -s サイレント
  • curl -sS エラーのみ
  • curl -u basic認証
  • curl --digest --user digest認証
  • curl -X "POST" method指定
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment