head頭容許json跨域

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