Input data format
Input data structures of the method POST passed in the request body.
Input data format — JSON.
The format of the input data is specified in the HTTP header. Content-Type: application/json.
The input data format must match the response format. Therefore, in the title Content-Type set the same format as in the header. Accept or in URL request (extension .json).
Required encoding of the request: UTF-8.
If the request does not specify a header Content-Type The Market automatically detects the data format. The service returns the HTTP status 400 Bad Request in the following cases:
- the transmitted data is invalid.
- the data structure contains errors.
- the request body uses an incorrect encoding (other than UTF-8).
Find out more
Was the article helpful?
Previous
Next