Skip to content

Commit 45ee333

Browse files
authored
Merge pull request #8135 from kenjis/docs-fix-ajax
docs: fix incorrect sample code in ajax.rst
2 parents 3266127 + 66dbcf1 commit 45ee333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/general/ajax.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Fetch API
1818
.. code-block:: javascript
1919
2020
fetch(url, {
21-
method: "get",
21+
method: "POST",
2222
headers: {
2323
"Content-Type": "application/json",
2424
"X-Requested-With": "XMLHttpRequest"

0 commit comments

Comments
 (0)