curl get url 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 get url https
curl -k https://localhost:44344/xxxxx
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
curl -k https://localhost:44344/xxxxx