From 66dbcf1f861b6a793fcf0c15a0457631daac8be4 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 2 Nov 2023 10:10:52 +0900 Subject: [PATCH] docs: fix incorrect sample code It is not valid that "application/json" and "GET". --- user_guide_src/source/general/ajax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/general/ajax.rst b/user_guide_src/source/general/ajax.rst index ac113456053b..967e2c280c59 100644 --- a/user_guide_src/source/general/ajax.rst +++ b/user_guide_src/source/general/ajax.rst @@ -18,7 +18,7 @@ Fetch API .. code-block:: javascript fetch(url, { - method: "get", + method: "POST", headers: { "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest"