[Spaceapi-devel] Improvements will be done next days

slopjong slopjong at syn2cat.lu
Sun Aug 4 12:00:20 CEST 2013


On 2013-08-04 11:58, Kai Hendry wrote:
> On 4 August 2013 17:56, slopjong <slopjong at syn2cat.lu> wrote:
>> at the moment JavaScript-based spaceapi apps cannot fetch 18 
>> endpoints
>> because they don't allow cross-origin:
>
> Why not print all 18?

XMLHttpRequest cannot load http://randomdata.nl/hsapi.php. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
12 appname.js:24
XMLHttpRequest cannot load http://status.hackspace-jena.de/api/. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
11 appname.js:24
3
12 appname.js:24
13 appname.js:24
12 appname.js:24
11 appname.js:24
12 appname.js:24
XMLHttpRequest cannot load http://api.openlab-augsburg.de/data.json. 
Origin http://myapp.spaceapi.net is not allowed by 
Access-Control-Allow-Origin. myapp:1
XMLHttpRequest cannot load http://club.entropia.de/spaceapi. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
XMLHttpRequest cannot load http://shackspace.de/spaceapi-query-0.13. 
Origin http://myapp.spaceapi.net is not allowed by 
Access-Control-Allow-Origin. myapp:1
XMLHttpRequest cannot load http://netzladen.org/api/status.json. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
XMLHttpRequest cannot load http://www.devtal.de/api/. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
11 appname.js:24
2
12 appname.js:24
XMLHttpRequest cannot load 
http://www.chaostreff-dortmund.de/spaceapi.php. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
11 appname.js:24
13 appname.js:24
2
12 appname.js:24
XMLHttpRequest cannot load http://familab.org/status/status.php. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
12 appname.js:24
XMLHttpRequest cannot load http://spaceapi.hasi.it/. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
12 appname.js:24
XMLHttpRequest cannot load 
http://www.posttenebraslab.ch/api/status.json. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
12 appname.js:24
XMLHttpRequest cannot load http://it-syndikat.org/status.php. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
12 appname.js:24
13 appname.js:24
12 appname.js:24
13 appname.js:24
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
12 appname.js:24
13 appname.js:24
12 appname.js:24
XMLHttpRequest cannot load http://api.hacdc.org/status.php. Origin 
http://myapp.spaceapi.net is not allowed by Access-Control-Allow-Origin. 
myapp:1
3
12 appname.js:24
13 appname.js:24
3
12 appname.js:24
13 appname.js:24
Uncaught TypeError: Object 0.12 has no method 'replace' appname.js:22
13


More information about the Spaceapi-devel mailing list