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
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