Software AG Products 10.5 | Using API Gateway | APIs | SOAP to REST Transformation | Supported Content-types and Accept Headers
 
Supported Content-types and Accept Headers
The following table specifies the content-type available for the HTTP methods:
HTTP Method
Content-types
Accept Headers
GET
application/x-www-form-urlencoded
application/json
application/xml or text/xml
multipart/form-data or multipart/mixed
POST
application/json
application/xml or text/xml
multipart/form-data or multipart/mixed
application/x-www-form-urlencoded
application/json
application/xml or text/xml
multipart/form-data or multipart/mixed
PUT
application/json
application/xml or text/xml
multipart/form-data or multipart/mixed
application/x-www-form-urlencoded
application/json
application/xml or text/xml
multipart/form-data or multipart/mixed
DELETE
application/x-www-form-urlencoded
application/json
application/xml or text/xml
multipart/form-data or multipart/mixed
Note:
If a content-type is not specified, then the request verifies the value of the Set Media Type parameter. If the value of the Set Media Type parameter is not defined, then by default, for POST and PUT HTTP methods, the application/json content-type is used. Whereas for GET and DELETE HTTP methods, the application/x-www-form-urlencoded content-type is used.