Content negociation

When performing requests, you SHOULD provide a Accept header.

For POST, PUT and PATCH requests, you MUST provide the appropriate Content-Type header.

Authorization: Bearer da39a3ee5e6b4b0d3255bfef95601890afd80709
Accept: application/json
Content-Type: application/json


Content negociation validation check is performed by the API against Content-Type when the request submit data. If missing or does not fit, the API will invalidate the request and will return an Unsupported Media Type (415) response:

HTTP/1.1 415 Unsupported Media Type
Content-Type: application/problem+json

    "title":"Unsupported Media Type",
    "detail":"Expecting one of the application/json",