I am trying to test my app against a REST server created with .NET Core 2.2, but when I try to access the server I am getting this error:
Access to XMLHttpRequest at 'http://localhost:5000/sessions' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The thing is that I am sure my server is configured to allow all origins, because I can access that server from other computers on the network. I’ve reading a lot about CORS problems with Ionic, and it seems that if the server is allowing all origins, the ionic app shouldn’t have problems accesing it.
BTW, I am testing the server access with