Hi. When I do :

Code:
var response = this.sendRequest(requestString,URL,headers,/*callback*/undefined);
I get a string in response like this : __RpcCtxt_2

But the documentation says it returns an object, which I get when using a callback like this :

Code:
this.sendRequest(requestString,URL,headers,callback);
function callback(response){
/* here, response is an object containing 4 attributes : xml, text, success and reqId =__RpcCtxt_2 */
}
in the callback, __RpcCtxt_2 is the value of the reqId property of the response object passed as argument : response.reqId = __RpcCtxt_2


My question is : is there a way to get the whole response when calling sendRequest without a callback (for synchronous calls).