rename function to something else

function already defined
This commit is contained in:
kot83 2018-03-29 15:57:10 -07:00 committed by GitHub
parent ef3bdf5408
commit a850ce5086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')})