methodNotAllowed constant

int const methodNotAllowed

methodNotAllowed = 405.

The request method is known by the server but has been disabled and cannot be used. For example, an API may forbid DELETE-ing a resource. The two mandatory methods, GET and HEAD, must never be disabled and should not return this error code.

https://tools.ietf.org/html/rfc7231#section-6.5.5

Implementation

static const int methodNotAllowed = 405;