405

Method Not Allowed

Description

The request method is known by the server but is not supported by the target resource. For example, an API may not allow calling DELETE to remove a resource. The Allow header field should list the supported methods.

HTTP Status Codes Details

Status Code
405
Status Name
Method Not Allowed
Class
4xx
Common Usage
Yes

Common Scenarios

  • Client request errors
  • Authentication issues

Handling Recommendations

  • Validate client input
  • Provide clear error messages

Was this helpful?

Loading...

Send Feedback

Found an error or have a suggestion? We respond within 48 hours.

Fact-checking completed

Verified by: Pavel Volkov
Created:
Last updated:
Information verified against official sources

Official Sources

Internet Engineering Task Force RFCs

Official HTTP status codes specification (RFC 7231)

Internet standards organization defining HTTP protocols

Mozilla Developer Network

Comprehensive HTTP status codes documentation

Authoritative web development documentation

Internet Assigned Numbers Authority

Official HTTP status code registry

Internet protocol parameters authority