We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e9a2b5 commit e66d025Copy full SHA for e66d025
1 file changed
user_guide_src/source/general/ajax.rst
@@ -25,6 +25,17 @@ Fetch API
25
}
26
});
27
28
+Axios
29
+=====
30
+
31
+If you are using Axios, it also does not include the ``X-Requested-With`` header by default.
32
+You can add it globally as follows:
33
34
+.. code-block:: javascript
35
36
+ axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
37
38
39
jQuery
40
======
41
0 commit comments