Content Type

1
Last updated 2 months ago

Authentication

The oauth endpoint for implicit and client_credentials authentication requests must contain the header Content-Type: application/x-www-form-urlencoded.

Core resources

Requests made to the API must be encoded as JSON and contain the header Content-Type: application/json .

Files

Requests to create a new File must contain the header Content-Type: multipart/form-data.

Response encoding

Responses from the Moltin API, including errors, are encoded as JSON.