JS Client side Cross Origin Request Security

  • 2
  • Question
  • Updated 8 years ago
I'm stuck with the problem that I call the xml page like this http://api.wunderground.com/api//geol... on Javascript from the client-site (mobile phone).
This is not working. On IRC-channels they told me that I had problem because of Cross Origin Request Security. Is this true? And what would be the best fix for this problem?

I would really like to have some help on this. Thanks for any reply!
Photo of Ronald de Vries

Ronald de Vries

  • 4 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 2
Photo of afelicioni


  • 227 Posts
  • 43 Reply Likes
Give a try using a callback, or try using a JSONP like technique.
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 124 Reply Likes