diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 09:12:02 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-07-09 09:12:02 +0000 |
commit | e78af2ac844dcb81b2c7dad43c5337ec4e2a9bf2 (patch) | |
tree | e2477113019b62345be335a3761034e38ebf21c3 /wk9/lect | |
parent | 66513fb8ec4b9cefc866534b32d610088aab5957 (diff) |
Tue, Jul 9, 2024, 2:12 AM -07:00
Diffstat (limited to 'wk9/lect')
-rw-r--r-- | wk9/lect/hello/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |