Skip to content

Commit 1e812cd

Browse files
authored
Update README.md
1 parent a3c06d1 commit 1e812cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ delete 方法,一般用于数据删除
105105
### options
106106
option 方法,一般用于请求时的预检
107107
108+
## Defalut headers
109+
"Content-Type": "application/x-www-form-urlencoded",
110+
111+
"Access-Control-Allow-Origin": "*",
112+
113+
"Access-Control-Max-Age": "86400",
114+
115+
"Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE",
116+
117+
"Access-Control-Allow-Headers": "token, host, x-real-ip, x-forwarded-ip, accept, content-type",
108118
109119
## Links
110120

0 commit comments

Comments
 (0)