head头容许json跨域

res.writeHead(200,{'contentType':'text/html,charset=utf8','Access-Control-Allow-Origin':'*','Access-Control-Allow-Methods':'PUT,POST,GET,DELETE,OPTIONS'});
相关文章
相关标签/搜索