415 Unsupported Media Type

Explanation:

The 415 Unsupported Media Type status code indicates that the server is refusing to service the request because the payload format is in an unsupported format.

Usage:

This status code should be used when the server is refusing to service the request because the payload format is in an unsupported format.

Attentions:

  • The server should include information about the supported media types in the response message if possible.
  • The response should include a message body with information about the supported media types.

Sample:

undefined