summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/app.py
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 09:12:02 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 09:12:02 +0000
commite78af2ac844dcb81b2c7dad43c5337ec4e2a9bf2 (patch)
treee2477113019b62345be335a3761034e38ebf21c3 /wk9/lect/hello/app.py
parent66513fb8ec4b9cefc866534b32d610088aab5957 (diff)
Tue, Jul 9, 2024, 2:12 AM -07:00
Diffstat (limited to 'wk9/lect/hello/app.py')
-rw-r--r--wk9/lect/hello/app.py2
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)