Created
March 10, 2021 12:41
-
-
Save pleshevskiy/75eb96c40768a1ff0a397969f53a845d to your computer and use it in GitHub Desktop.
Get only http status of request via curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -o /dev/null -s -w "%{http_code}\n" http://localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment