From a850ce50865483f894d5d349bfca1fe67a0c1682 Mon Sep 17 00:00:00 2001 From: kot83 <33439542+kot83@users.noreply.github.com> Date: Thu, 29 Mar 2018 15:57:10 -0700 Subject: [PATCH] rename function to something else function already defined --- examples/try_everything.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/try_everything.py b/examples/try_everything.py index 5950c4ea..a775704d 100644 --- a/examples/try_everything.py +++ b/examples/try_everything.py @@ -66,7 +66,7 @@ def post_json(request): @app.route("/form") -def post_json(request): +def post_form_json(request): return response.json({"received": True, "form_data": request.form, "test": request.form.get('test')})