Client error
HTTP 405: Method Not Allowed
HTTP 405 means the URL exists but does not allow that HTTP method.
Meaning
The server recognized the resource but rejects the request method.
Common causes
A route may allow GET but not POST, PUT, PATCH, or DELETE.
What to check
Use an allowed method and check the Allow header or route handler configuration.
Example response
HTTP/1.1 405 Method Not AllowedReferences
Related HTTP status codes
Nearby codes often answer the next debugging question.