405 Method Not Allowed

The HyperText Transfer Protocol (HTTP) 405 Method Not Allowed response status code indicates that the server knows the request method, but the target resource doesn't support this method.

The server must generate an Allow header field in a 405 status code response. The field must contain a list of methods that the target resource currently supports.

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