我已经将netcoreapp从2.1更新到2.2,不知道如何让CORS再次工作。.AllowAnyMethod() .AllowCredentials() 升级到2.2ios://localhost 我在Android上收到以下错误: Access to XMLHttpRequest at 'https://my-host-app.azurewebsites.net/api<
我使用.net核心2.2webapi作为后端。Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5050/apiCORS preflight channel).(Reason: CORS request did not succeed).[Learn More]
在我的.net核心网页里。我也启用了cors。HTTP/1.
我正在我的.NET Core3.1 web应用程序中设置CORS策略,但我收到一个错误,显示 Access to XMLHttpRequest at 'http://10.10.100.60/api/api/values/getmyorders?uId=8c3d745b-78b7-47ed-ac93-310fe61b8daf' from origin 'http://10.10.100.66:8080'