Curl Command To Test Web Page Response Headers
18th January 2023
curl -sSLIXGET http://www.hashbangcode.com
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