Skip to main content

https://docs.revenuecat.com/reference/receipts

On this link, I’ve tried post request with my sample data.

But I got this error.

{
  "code": 7227,
  "message": "Content-Type not application/json"
}

How can I resolve it?

Thanks

The body of the POST requests should be encoded in JSON and have the 'Content-Type' header set to 'application/json'.

Content-type: “application/json”

 

Adding that header should resolve the error.


Reply