The Content-Type
entity header is used to describe the media type of a resource. In requests, a Content-Type
header tells the server what type of data is being sent. In responses, it tells the client what type of data the returned content actually is.
Our default is to accept data as application/x-www-form-urlencoded (which is typical for most websites you interact with), but you are free to send other data types, like application/json, as it suits you. Simply specify the Content-Type
in the header of the request.