← All status codes
4xx Client Error
405
Method Not Allowed
The HTTP method is not allowed for this resource.
What it means
A 405 Method Not Allowed response indicates that the server knows about the requested URL, but the HTTP method used is not supported for that resource. For example, sending a POST to a URL that only accepts GET requests.
Common causes
- A POST request was sent to a URL that only accepts GET.
- A PUT or DELETE was attempted on a read-only resource.
- The API endpoint requires a different HTTP method than the one used.
How to fix it
- Check the API documentation for the correct HTTP method.
- If you are the developer, look at the Allow header in the response to see which methods are supported.
Test a URL and see its actual status code now.
Open the checker →