coder-linx / blog

个人博客
MIT License
0 stars 0 forks source link

ajax application/json 跨域问题 | 极简前端 #44

Open coder-linx opened 4 years ago

coder-linx commented 4 years ago

https://blog.jijian.link/2020-03-02/ajax-application-json-cors/

Content-type: application/json CORS 跨域问题如果 ajax 请求 Content-type: application/json ,跨域请求接口会有以下错误: