CURL, get data appended with a '?' separator, extract data code example
Example: curl get example
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource