We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a598cb commit dff2800Copy full SHA for dff2800
1 file changed
xml/XMLHttpRequest/README.md
@@ -1,7 +1,8 @@
1
2
In the nginx configuration file, we need to allow CORS
3
4
-```location / {
+```
5
+location / {
6
# Simple requests
7
if ($request_method ~* "(GET|POST)") {
8
add_header "Access-Control-Allow-Origin" *;
@@ -10,7 +11,8 @@ In the nginx configuration file, we need to allow CORS
10
11
# First attempt to serve request as file, then
12
# as directory, then fall back to displaying a 404.
13
try_files $uri $uri/ =404;
-}```
14
+}
15
16
17
XMLHttpRequest API provides client functionality for transferring data between
18
a client and a server. It allows an easy way to retrieve data from a URL without
0 commit comments