learn curl command code example
Example 1: curl get example
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
Example 2: curl for beginners
curl http://www.dataden.tech
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
curl http://www.dataden.tech