ASP.NET MVC中 跨域访问问题

错误代码:
Access to XMLHttpRequest at ‘http://localhost:8765/api/Me’ from origin ‘null’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status.





解决方法:
在这里插入图片描述

转载自:https://www.cnblogs.com/tiger2soft/p/5711173.html

猜你喜欢

转载自blog.csdn.net/weixin_44575911/article/details/110944270