How to html input to Flask? How to html input to Flask? flask flask

How to html input to Flask?


You should be able to add a submit button to the form to POST or GET the data response back to the action.

In this case, you will probably want to modify your form tag definition to:

<form action="/quiz_answers" method="POST">

And add a submit button like this:

<input type="submit" value="Submit!" />

When the user clicks, it should generate a POST request back to http://your_server/quiz_answers.