Unprofane
DocsErrors

Send application/json

Send Content-Type: application/json. Nothing accepts a form or a file.

The response#

Status 415 with Content-Type: application/problem+json. Match on type; detail says what was wrong with this request.

JSON
{
  "type": "https://unprofane.com/docs/errors/unsupported-media-type",
  "title": "Send application/json.",
  "status": 415,
  "detail": "…",
  "instance": "req_…"
}

All errors