Merge pull request #1181 from kot83/patch-1

rename function in examples to post_json
This commit is contained in:
Raphael Deem 2018-03-29 20:13:48 -07:00 committed by GitHub
commit 6cf320bedb
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")
def post_json(request):
def post_form_json(request):
return response.json({"received": True, "form_data": request.form, "test": request.form.get('test')})