Last Updated: January 28, 2019
·
13.26K
· jplmelanson

How to use curl to get http response status code only

curl -sL -w "%{http_code}" -I "www.google.com" -o /dev/null