Forms (GET vs POST)
Form demo (GET + POST)
This single route handles both GET and POST.
When you press submit, the browser sends a POST and Flask reads request.form.
This single route handles both GET and POST.
When you press submit, the browser sends a POST and Flask reads request.form.