Welcome to openkapow Sign in | Join
.

Calling XMLHttpRequest() or GDownloadUrl() fails

  •  10-13-2007, 1:38 PM

    Calling XMLHttpRequest() or GDownloadUrl() fails

    I trying to create a mashup for googlemaps with a couple of rest services, they work just fine calling it from the browser with args or using php wrapper to do it. But when I wrap up the call in javascript as XMLHttpRequest or GDownloadUrl(). I get an error indicating "permission denied". Something about calling servers non-locally. Didn't see any mashup examples that use them, but all other methods using php are a pain, because I dont want to intermix php and javascript like the phonenumber demo. And I need multiple instances. For instance something like this... (not functional, just showing how I would call a rest from gdownloadurl) GDownloadUrl("http://service.openkapow.com/demo/whitepagesrest.rest?resultformat=xml", function(data) { var xml = GXml.parse(data); // ... Xml now has everything I would need... }
View Complete Thread
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy