Hi, all
I'm trying to fetch JSON content from my gadget calling my home server
via makeRequest().
My server is available on Internet and I'm using the following code:
params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.JSON;
params[gadgets.io.RequestParameters.METHOD] =
gadgets.io.MethodType.GET;
var uri = <MYServerURI> + "?<param1>+ "&" +noCache();
gadgets.io.makeRequest(uri, callBack, params);
noCache() simply adds a nocache paramter in order to be sure the
request is always forwarded.
Using firebug I can see that this request returns
throw 1; < don't be evil' >{"<REQUEST_URL>":{"body":"","rc":502}}
The URL of my server is provided in numeric form (i.e. x.x.x.x)
Can you provide any help?
Thanks
Paola
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---