请求标头字段访问-控制-允许标头不允许访问-控制-允许标头
Request header field Content-Type is not allowed by Access-Control-Allow-Headers.
$http.post($rootScope.URL, {params: arguments}, {headers: { "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET,POST,PUT,DELETE,OPTIONS", "Access-Control-Allow-Headers": "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"}
Request header field Access-Control-Allow-Origin is not allowed by Access-Control-Allow-Headers
扬帆大鱼
相关分类