Answers for "get curl from code"

9

curl return code only

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

curl get example

curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
Posted by: Guest on July-01-2020

Browse Popular Code Answers by Language