Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49227

Access-controll-allow-origin is not allowed

$
0
0

@powerful wrote:

hello guys
im using $http to get a json file but when i view it by console.log() throw me following error :

XMLHttpRequest cannot load http://www.example.com/api.json. Origin http://localhost:8100 is not allowed by Access-Control-Allow-Origin.

i followed this post [http://blog.ionic.io/handling-cors-issues-in-ionic/](cors issue) to use proxy but it give me 404 error!!

can anyone help me ?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49227

Trending Articles



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