Question: I am creating an API with our API server script and am trying to communicate with the API on the IONIC framework application. I am working but it keeps on bringing up the cross-origin blocked error: 

[![enter image description here](https://i.stack.imgur.com/x1jg4.png)](https://i.stack.imgur.com/x1jg4.png)

Answer: 
The issue is just during development phase ,the best way to deal with it is to install "Allow-Control-Allow-Origin" extension in chrome.
The best solution that worked for me is to use ionic-native http. Follow the link to check its implementation-
<https://www.freakyjolly.com/ionic-4-native-http-plugin-tutorial-with-example/>