Curl Command To Test Web Page Response Headers

curl -sSLIXGET

To explain:

  • -s flag will make curl silent.
  • -S flag (capital s) will show any errors produced (if things fail).
  • -L flag allows curl to look for and follow redirects.
  • -I flag (lower case L) tells curl to fetch the header only.
  • -X flag means that we will issue a GET request.

Add new comment

The content of this field is kept private and will not be shown publicly.
1 + 14 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.