Answers for "curl get header status code"

2

curl check response headers

Just use '-ISs' flag options I:(only headers), sS:(silence and no errors) 
curl www.example -ISs
Posted by: Guest on November-13-2020
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