Software AG Products 10.5 | Using API Gateway | Policies | System-defined Stages and Policies | Transport | Set Media Type
 
Set Media Type
This policy specifies the content type for a REST request. If the content type header is missing in a client request sent to an API, API Gateway adds the content type specified here before sending the request to the native API.
The table lists the properties that you can specify for this policy:
Parameter
Description
Default Content-Type
Specifies the default content type for REST request received from a client.
Examples for content types: application/json, application/xml.
Default Accept Header
Specifies the default accept header for REST request received from a client.