Skip to content

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

Description

@manuelmerkel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestruleRule implementation issuestask

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions