Media types
Two media types are supported : json and text/html.
These media types can be used for the request (Content-Type header) and for the response (Accept header)
Content-Type header
How to use | The Content-Type header defines the media type of the request (upload) |
Possible values | text/plain or application/json |
Example use | Content-Type: text/plain |
Accept header
How to use | The Accept header defines the media type of the response (download) |
Possible values | text/plain or application/json |
Example use | Accept: application/json |
|