1.会发两次请求,也能访问返回结果,但是浏览器报错;2.浏览器报错No'Access-Control-Allow-Origin'headerispresentontherequestedresource.Origin'http://localhost:8080'isthereforenotallowedaccess.3.Content-Type:applycation/json;疑问:问什么允许访问还会报错
No'Access-Control-Allow-Origin'headerispresentontherequestedresource.Origin'http://localhost:8080'isthereforenotallowedaccess.3.Content-Type:applycation/json;疑问:问什么允许访问还会报错
3.Content-Type:applycation/json;疑问:问什么允许访问还会报错
疑问:问什么允许访问还会报错
相关分类