Skip to content

General

Method not allowed

The endpoint exists but does not accept this HTTP method.

HTTP 405METHOD_NOT_ALLOWED

In the response

Besides the standard members type, title, status, detail, instance, plus code and requestId:

Nothing else. This error carries no errors or meta.

Example response

HTTP 405 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/method-not-allowed",
  "title": "Method not allowed",
  "status": 405,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "METHOD_NOT_ALLOWED",
  "requestId": "<also sent as X-Request-Id>"
}

Values in angle brackets vary per request. Quote the requestId when reporting an error; it is how the server’s log line is found.