Non-UI Responses

You can return data of types other than plain text and JSON.

To specify the format of the returned data, set the 'Content-Type' header.