express post问题

https://img1.mukewang.com/5c10c84c00019a8a05740415.jpghttps://img4.mukewang.com/5c10c8530001017703000333.jpg

使用angular发post请求报错

https://img1.mukewang.com/5c10c8610001551f05090074.jpg

get不报 何解?


茅侃侃
浏览 541回答 1
1回答

慕容森

res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");加上这段试试呢
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript