[Spaceapi-devel] Improvements will be done next days

slopjong slopjong at syn2cat.lu
Sun Aug 4 11:56:48 CEST 2013


Hi spaceapi people,

at the moment JavaScript-based spaceapi apps cannot fetch 18 endpoints 
because they don't allow cross-origin:

...
XMLHttpRequest cannot load http://status.bckspc.de/spacestatus.php. 
Origin http://myapp.spaceapi.net is not allowed by 
Access-Control-Allow-Origin. myapp:1
XMLHttpRequest cannot load http://reaktor23.org/state/json.php. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
XMLHttpRequest cannot load http://48.io/status/. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
XMLHttpRequest cannot load http://galileo.fedorapeople.org/status.json. 
Origin http://myapp.spaceapi.net is not allowed by 
Access-Control-Allow-Origin. myapp:1
XMLHttpRequest cannot load http://hsmty.org/status.json. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
...

Solutions could be

* Access-Control-Allow-Origin warning will turn into an error message
* spaceapi.net will crawl the endpoints 30 seconds and provides while 
the apps use the spaceapi cache then

Both solutions are being applied next days.

Cheers,
slopjong


More information about the Spaceapi-devel mailing list