ASP.NET Web API Error: Can't read from server. It may not have the appropriate access-control-origin settings.
Learn developer and data technologies with us
ASP.NET Web API Error: Can't read from server. It may not have the appropriate access-control-origin settings.
Firstly, enable the CORS.
And then,
This is because of https or SSL.
If you observe carefully the actual URL is secure i.e. https and swagger docs URL is without SSL i.e. http.
So change to SSL or https, then you will be able to resolve the issue.