Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230001

Http post Request error *No access control origin * in ionic

$
0
0

chrome extension only in your browser but in your apps will still have the same issue, so to solve this, you need to add headers in the server:
headers.append(‘Access-Control-Allow-Origin’ , ‘*’);
headers.append(‘Access-Control-Allow-Methods’, ‘POST, GET, OPTIONS, PUT’);


Viewing all articles
Browse latest Browse all 230001

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>