Answers for "catch error responses from curl -s"

1

get status code of curl

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

Browse Popular Code Answers by Language