Supported Media Types

Media types let you choose the format of the data you want to receive, defining the structure of the HTTP payloads exchanged between the server and the client. They allow an API to inform the client how to interpret the data in the payload.

The REST API for Oracle B2C Service Chat supports only application/json media type. The application/json media type represents the format for describing JSON data.

Since the default character encoding for JSON is UTF-8, the server when dealing with JSON, assumes that the encoding is UTF-8 and handles the data accordingly. Hence, specifying the character encoding such as application/json; charset=utf-8 is redundant for JSON.