All requests should supply the Accept: application/json header.

POST and PUT requests must have a JSON encoded body and the Content-Type: application/json.