Character Encoding and MIME Types

Encode your data in UTF-8 and set the proper MIME type on requests with bodies.

The API requires the following:

  1. Make sure that your character data are encoded in UTF-8.
  2. On HTTP requests that contain a request body in JSON format (POST, PUT, or PATCH), make sure to set the MIME type:
       
    Content-type: application/json     
        
  3. Make sure non-ASCII letters and ' characters are escaped.

Was this article helpful?