Merge pull request #1181 from kot83/patch-1
rename function in examples to post_json
This commit is contained in:
commit
6cf320bedb
|
@ -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')})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user