rename function to something else
function already defined
This commit is contained in:
parent
ef3bdf5408
commit
a850ce5086
|
@ -66,7 +66,7 @@ def post_json(request):
|
||||||
|
|
||||||
|
|
||||||
@app.route("/form")
|
@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')})
|
return response.json({"received": True, "form_data": request.form, "test": request.form.get('test')})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user