Skip to content

Commit

Permalink
docs: fix incorrect sample code
Browse files Browse the repository at this point in the history
It is not valid that "application/json" and "GET".
  • Loading branch information
kenjis committed Nov 2, 2023
1 parent 2df4a3f commit 66dbcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/general/ajax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Fetch API
.. code-block:: javascript
fetch(url, {
method: "get",
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Requested-With": "XMLHttpRequest"
Expand Down

0 comments on commit 66dbcf1

Please sign in to comment.