Skip to main content

4 docs tagged with "response-formats"

View All Tags

Compressed Responses

The Slingshot API supports the compression of JSON / XML responses. To use response compression, set the standard http header Accept-Encoding to either gzip or deflate and the Slingshot API server will compress the data before sending it to the client.

JSON Format

If JSON is preferred, set the standard http header Accept to the value application/json and the Slingshot API server will send all non-binary responses to the client in JSON format.

Response Formats

Documentation and references regarding the potential response formats encountered when using Slingshot API.

XML Format

If XML is preferred, set the standard http header Accept to the value text/xml and the Slingshot API server will send all non-binary responses to the client in XML format.