Method Not Allowed
A "Method Not Allowed" HTTP status is 405
.
This error occurs when the HTTP request method used is not supported for the requested endpoint.
Method Not Allowed
The HTTP method used is not permitted for the requested resource. The "Allow" header in the response will indicate which methods are allowed.
For example, a POST request may be made to an endpoint that only supports GET.
Check the available methods for the requested resource by referring to the "Allow" header in the response. Modify the request to use one of the permitted methods.
Helpful Resources
- 405 Method Not Allowed on MDN
- Ensure that your client uses the correct method by verifying with the API documentation or by exploring the options available through the "Allow" header.