Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response. 日常提问 这个请求头到底是啥情况 一直报这个错 就是改了一下ajax的地址 原本是一个项目里面的controller url写controller里的地址就能请求 现在要求前后端分离 发送请求给http://--------类型的地址就一直报这个错误
Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response. 日常提问 这个请求头到底是啥情况 一直报这个错 就是改了一下ajax的地址 原本是一个项目里面的controller url写controller里的地址就能请求 现在要求前后端分离 发送请求给http://--------类型的地址就一直报这个错误