Return Values

You can control the response payload's content type by specifying the JSON or HTML MIME type in the "Accept" HTTP header.

The content type defaults to 'application/json'. Examples are presented in JSON.

You can specify the value 'text/html' to get an HTML version of the JSON that is returned.