Set Content-Type

Hello there,

When the API sends me an error like “Too Many Requests” or “Bad Request”, The error response has the Content-Type: {“text/xml”},

I set my request Header with Content-Type: application/json, but it does not work, I always receive text/html as Content-Type

How do I set the content-type in my requests?


Unfortunately content type of error messages is always xml.