You need to specify the data format in the request header.
The request and response bodies can have the following data formats:
You need to specify the data format in the request header, as illustrated in the sample below.
Content-Type: application/json Accept: application/json
|Content-Type||The data format of the request you send to the API.||Yes||N/A|
|Accept||The data format of the response returned by the API.||No||application/json|