curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource