Hello,
I can not send a JSON, what's the problem?
Thanks.
follows the source:
var params = {};
params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST;
params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.JSON;
params[gadgets.io.RequestParameters.POST_DATA]=
gadgets.io.encodeValues(json);
gadgets.io.makeRequest("http://localhost:8080/aplicacaoWeb/donoAmigos?json="+json,
callBackUrl, params);
--
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" 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-api?hl=en.