使用angular发post请求报错
get不报 何解?
欢迎选择我的课程,让我们一起见证您的进步~~
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");加上这段试试呢
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
加上这段试试呢