Answers for "service gives 0 code on curl"

9

curl return code only

curl -s -o /dev/null -w "%{http_code}" http://www.example.org/
Posted by: Guest on August-01-2020
1

curl get return code

curl -I http://www.example.org
Posted by: Guest on March-18-2021

Browse Popular Code Answers by Language