Forms not working in Flask; 400 error

I am making a Flask website for programming contests where the user will complete a login form and submit a URL to submit the contest entry.
I have tested this with my friend, @Evanisha, and when he tried to submit an entry, it returned a 400 bad request.
Website Link
Repl Link

for="url" is a typo, it should be name="url". (Flask returns 400 when you try to access a form field that does not exist, and because of the typo it did not exist)

Lol, typos are the most annoying kind of problem, because everything looks right but it is not.


Thank you very much! My website works first integration of Replitdatabasedominationthewebsiteiscompleteyay!!!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.