aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/collect.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/wqflask/collect.py')
-rw-r--r--wqflask/wqflask/collect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py
index c80c82cd..55d922ea 100644
--- a/wqflask/wqflask/collect.py
+++ b/wqflask/wqflask/collect.py
@@ -115,9 +115,9 @@ def __compute_traits__(params):
unprocessed_traits = params['traits']
return process_traits(unprocessed_traits)
-@app.route("/collections/new")
+@app.route("/collections/new", methods=["POST"])
def collections_new():
- params = request.args
+ params = request.form
anon_id = session_info()["anon_id"]
if "sign_in" in params: