405 Method Not Allowed

The HyperText Transfer Protocol (HTTP) 405 Method Not Allowed response status code indicates that the request method is known by the server but is not supported by the target resource.

The server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.

Status

405 Method Not Allowed

Specifications

Specification Title
RFC 7231, section 6.5.5: 405 Method Not Allowed Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

See also