|
#1
|
|||
|
|||
|
I receive the following error when trying to load upcoming events.
XMLHttpRequest cannot load http://xscadelearningx.api.channel.l...2.0/events.xml. Origin http://apompei.com is not allowed by Access-Control-Allow-Origin. I've tried this on multiple domains including where it'll actually live. I'm just testing it now. The odd thing is this works through Dreamweaver CS5.5 "Live View". So what is preventing me from access this XML file? |
|
#2
|
|||
|
|||
|
So it seems its the browser / web server security settings that return the Access-Control-Allow-Origin message. How is this request suppose to be made if this is the case? I am very new to JS so any help is a appreciated. The API documentation states the result can be XML or JSON. I'm having a problem with the result being returned as XML.
|
|
#3
|
|||
|
|||
|
After talking with the it department here at my institution my issue was resolved by accessing the API through another server to pull down the events XML file and then I was able to load it from within our domain.
|
|
#4
|
|||
|
|||
|
We did the same, we accessed the API atrie krediti through another server and pulled it down!! smscredit
Last edited by zurza; 1st April 2013 at 18:40. Reason: error |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|