forked from orbit-oss/flask
docs: fix wrong JS syntax (#5136)
This commit is contained in:
parent
b80baaf359
commit
55332be325
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ in a Flask view.
|
|||
.. code-block:: javascript
|
||||
|
||||
let data = new FormData()
|
||||
data.append("name": "Flask Room")
|
||||
data.append("description": "Talk about Flask here.")
|
||||
data.append("name", "Flask Room")
|
||||
data.append("description", "Talk about Flask here.")
|
||||
fetch(room_url, {
|
||||
"method": "POST",
|
||||
"body": data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue