405Method Not Allowed
The URL exists, but it does not accept the HTTP method you used, such as a POST to a read-only endpoint.
Browse all HTTP status codesWhen you see it
Sending POST where only GET is handled, or DELETE to an endpoint that does not support it. A correct 405 includes an Allow header listing the methods that would work, which usually tells you the fix immediately.
It also appears when a redirect quietly changed your method. A POST that follows a 301 can arrive as a GET, and the endpoint then rejects it.
Look up another one
Open
Type a code, a partial code like 40, or any word from a name or description. Everything runs in your browser.
Filter
Copy format
Status codes
69 of 69 codes. Click a row to copy it.
1xx Informational (4)
2xx Success (10)
3xx Redirection (8)
4xx Client errors (31)
5xx Server errors (16)