A few REST calls require a request body entity that mandates setting the request Content-Type
header that appropriately identifies the data. This header does not determine the content-type of the response; the URL extension is used for that purpose.
MIME Type | Format Type |
---|---|
application/xml | XML |
text/xml | |
application/json | JSON |
text/json | |
application/x-www-form-urlencoded | FORM |
multipart/form-data | MultiPart |
URL extension | Format Type |
---|---|
*.xml | XML |
*.json | JSON |