OutSystems Platform supports many media types in the Content-Type header of REST API requests. However, depending on the input parameter's data type, the following rules apply:

Input Parameter Data Type

Accepted Request Media Type

Record, List

application/json

Basic Data Types

text/<any_subtype>

application/x-www-form-urlencoded

Binary

any

If you send a request with a Content-Type header that the method doesn't support, you receive a response with status code 415. Additionally, you get the following error message in the response body:

See Also

Available Data Types