What do your server access logs say when your url is hit from
OpenSocial? Are you sure your server isn't returning a 500 error when
hit from the OpenSocial container (even if you can access the url
directly in a browser)?
If you aren't validating the request on your server, you don't need to
set the authorization parameter. You can just do this:
gadgets.io.makeRequest(url, callback, {});
On Apr 1, 2:57 pm, "Parag Dhanuka" <[EMAIL PROTECTED]> wrote:
> My application was working fine till a few minutes ago and all of a sudden
> it has stopped working....
>
> The problem is I am not getting back any data from my server which seems
> very wrong to me.... My console shows
>
> throw 1; < don't be evil' >{"http://MYURL":{"body":"","rc":500}}
>
> The url is not verified on server as this is a simple get request which is
> same for all users.
>
> Hence typinghttp://MYURLdirectly on the browser gives me back the desired
> result....
>
> Am i doing something wrong while using
> *
> var* params = {};
> params[gadgets.io.RequestParameters.AUTHORIZATION] =
> gadgets.io.AuthorizationType.SIGNED;
> gadgets.io.makeRequest("http://MYURL", callback, params);
>
> --
> Parag Dhanuka
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut 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/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---