Answers for "send a request to a URL with curl, and displays only the status code"

1

get status code of curl

curl -o /dev/null -s -w "%{http_code}n" http://localhost
Posted by: Guest on January-15-2021

Code answers related to "send a request to a URL with curl, and displays only the status code"

Browse Popular Code Answers by Language