From e78af2ac844dcb81b2c7dad43c5337ec4e2a9bf2 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 9 Jul 2024 09:12:02 +0000 Subject: Tue, Jul 9, 2024, 2:12 AM -07:00 --- wk9/lect/hello/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wk9') diff --git a/wk9/lect/hello/app.py b/wk9/lect/hello/app.py index 347ff05..988f13c 100644 --- a/wk9/lect/hello/app.py +++ b/wk9/lect/hello/app.py @@ -9,5 +9,5 @@ def index(): @app.route("/greet", methods=["POST"]) def greet(): - name = request.args.get("name", "world") + name = request.form.get("name", "world") return render_template("greet.html", name=name) -- cgit v1.2.3