Merge pull request #16 from cbess/patch-3
Fix list formatting in Request Data docs
This commit is contained in:
commit
475880765e
|
@ -4,10 +4,10 @@
|
|||
|
||||
The following request variables are accessible as properties:
|
||||
|
||||
request.files (dictionary of File objects) - List of files that have a name, body, and type
|
||||
request.json (any) - JSON body
|
||||
request.args (dict) - Query String variables. Use getlist to get multiple of the same name
|
||||
request.form (dict) - Posted form variables. Use getlist to get multiple of the same name
|
||||
`request.files` (dictionary of File objects) - List of files that have a name, body, and type
|
||||
`request.json` (any) - JSON body
|
||||
`request.args` (dict) - Query String variables. Use getlist to get multiple of the same name
|
||||
`request.form` (dict) - Posted form variables. Use getlist to get multiple of the same name
|
||||
|
||||
See request.py for more information
|
||||
|
||||
|
@ -40,4 +40,4 @@ def post_json(request):
|
|||
@app.route("/query_string")
|
||||
def query_string(request):
|
||||
return json({ "parsed": True, "args": request.args, "url": request.url, "query_string": request.query_string })
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user