415 ("Unsupported Media Type") must be used when the media type of a request"s payload cannot be processed #33
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
rule
Rule implementation issues
task
Describtion
The 415 error response indicates that the API is not able to process the client’s supplied media type, as indicated by the Content-Type request header.
Example
A client request including data formatted as application/xml will receive a 415 response if the API is only willing to process data formatted as application/json.
Above infos from Massé (https://www.oreilly.com/library/view/rest-api-design/9781449317904/)
Implementation Details
TODO
The text was updated successfully, but these errors were encountered: