405 Method not allowed error with flask_wtf
isaiah08

I am re-writing this post because i didn't phrase it correctly the first time. Try running the program, entering test as the username and pass as the password, and you get a 405 error. How can i fix this?

You are viewing a single comment. View All
Coder100

hmmm try making sure that the quick form is posting to the correct URL endpoint. It is currently posting to /, and you didn't specify a handler for a post request to that

isaiah08

Thanks! One more question: when you go to /posts, it gives you a 500 error. What is wrong now? @Coder100

Coder100

make sure you actually return something like return 'done!' @isaiah08

Coder100

oh wait nvm sorry @isaiah08