On this link, I’ve tried post request with my sample data.
But I got this error.
"message": "Content-Type not application/json"
How can I resolve it?
Best answer by ryanView original
The body of the
POSTrequests should be encoded in JSON and have the 'Content-Type' header set to 'application/json'.
Adding that header should resolve the error.