HTTP Headers
The HTTP header
Content-Type
ensures correct processing of requests that contain JSON data.
When a web API request contains data in JSON format, include this HTTP header if needed:
Content-Type: application/json; charset:utf-8For example, many
POST
and
PUT
methods in the API specify realm definition objects using JSON data.