LoginSignup
0
0

More than 3 years have passed since last update.

curlコマンド よく使うやつ

Last updated at Posted at 2019-10-11
# レスポンスヘッダーを確認したい時
$ curl -I {URL}

# ステータスだけを確認したい時
$ curl -LI {URL} -o /dev/null -w '%{http_code}\n' -s

# 詳細をログでみたい時
$ curl -v {URL}

# リダイレクト先の情報を確認したい時
$ curl -L {URL} 
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0