SonicOS/X API Reference Guide

Table of Contents

Supported HTTP MIME Types

SonicOS supports these HTTP MIME types:

  • Text/plain

  • Application/JSON

These HTTP headers define the request and response format:

  • Content-type - Specifies the format (MIME type) of the request body (input)

  • Accept - Specifies the format of the response body (output)

The headers can be used to obtain mixed input/output. See examples below for reference.