The HTTP 415 status code means a server refuses to process the request because the request body (also known as request entity or payload) format is unsupported.
This error might happen when the
Content-Encoding header(s) are incorrect or missing. The server also reserves the right to return this status code upon inspecting the body, notwithstanding the correctness of those headers.
Content-Type header indicates the media type (MIME) of the payload. Make sure you include this header with all HTTP requests containing a request body, namely POST, PUT, and PATCH requests.
Content-Encoding header indicates which compression method (encoding) is applied to the request body. Compression speeds up web browsing and saves bandwidth by encoding data using fewer bits than the original representation. Most common compression algorithms used on the web today are gzip and brotli.
Content-Encoding: br, gzip, deflate
No spyware, no promotional emails, or keyword-stuffed junk. I will only send you a single email when I've got something interesting to say. Unsubscribe anytime.
You can also subscribe to the Atom feed (it's like RSS, but better).