skip to main content
Structure of OData requests : Response formatting
 

Try DataDirect Cloud Now

Response formatting

The OData specification allows a service to return responses in several different formats. The DataDirect Cloud service supports Atom Pub and JSON. By default, DataDirect Cloud returns responses in Atom Pub format. Requests can override this by specifying JSON format responses in one of the following ways:
*The $format=json query parameter.
*An Accept header with a value of: application/json.
An OData request can either use the header or the query parameter; it cannot specify both.