« Back to Index

Get HTTP Status Code

View original Gist on GitHub

Get HTTP Status Code.sh

curl -s -o /dev/null -w "%{http_code}" http://www.example.org/