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"