子沫
解决跨域AJAX提示No 'Access-Control-Allow-Origin' header is present on the requested resource,并且The response had HTTP status code 404
04/01
本文最后更新于2019年09月19日,已超过1982天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept');
其中*代表允许域名,可以更改这个限制调用。


版权属于:
Strjson博客-专注于各种精品源码、精品软件、技术教程分享、黑客技术、破解教程(爱你在心口难开、没事写一写)
本文链接:
https://jpgke.com/jiaocheng/94.html(转载时请注明本文出处及文章链接)
作品采用:
军哥jj2cm