Developer Documentation Library > Web API > Web API application > Request/response formats for the Web API
 
Request/response formats for the Web API
The web service accepts requests and responses in only JSON format.
The Web API supports compression on all requests and responses:
For requests that send data to the Web API, a “Content-Encoding” of “gzip” or “deflate” is supported.
For responses, “Accept-Encoding” values of “gzip” and “deflate” are supported.
Use “Accept-Encoding: gzip” as a header in all requests to cause the Web API to compress the response; although the JSON and MDD files sent in responses might be large, they compress well.
See
Web API application