Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

415 ("Unsupported Media Type") must be used when the media type of a request"s payload cannot be processed #33

Open
manuelmerkel opened this issue Sep 5, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request rule Rule implementation issues task

Comments

@manuelmerkel
Copy link
Collaborator

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

@manuelmerkel manuelmerkel added documentation Improvements or additions to documentation enhancement New feature or request task rule Rule implementation issues labels Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request rule Rule implementation issues task
Projects
None yet
Development

No branches or pull requests

1 participant