0Pricing
Flask Academy · Lesson

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

  1. Declare Allowed Methods on a Route
  2. Branch Logic by request.method
  3. Read POST Data from the Body
  4. 405 Method Not Allowed Explained
← Back to Flask Academy