Can you please provide a sample of the request you're using please? I'm using the following structure for makeRequest without issue:
CODE
var url = 'URL HERE';
callback = callbackFunc;
var params = {};
params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.DOM;
params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST;
gadgets.io.makeRequest(encodeURI(url), callbackFunc, params);
Then all you need is callbackFunc defined to handle the callback data like:
CODE
function callbackFunc(response){
if (response.text){
DO SOMETHING
}
}
Jonathan LeBlanc
Senior Software Engineer
Yahoo! Developer Network
Hi,
I am trying to use makerequest to make ajax calls but it always returns error 400.