Getting CORS error in getting response from an api

Getting CORS error in getting response from API…How to solve it …

1 Like

What backend you are using.?

And also go to Mozilla MDN readon about CORS

If you using chrome try Allow CORS: Access-Control-Allow-Origin extension that will help if still not help then check from your server side

1 Like

Or you can setup Ionic proxy if you have no control over the target domain
handling CORS with The Ionic 5 Proxy

1 Like

Please read this one from Ionic team. https://ionicframework.com/docs/troubleshooting/cors