405 Method Not Allowed Explained
What happens when a verb is not permitted.
What 405 Means
A 405 Method Not Allowed response means the URL exists, but the verb you used is not permitted on it.
405 Is Not 404
Do not confuse the two. A 404 means the path was not found, while a 405 means the path is real but rejects that verb.
All lessons in this course
- Declare Allowed Methods on a Route
- Branch Logic by request.method
- Read POST Data from the Body
- 405 Method Not Allowed Explained