Hi,
The picture probably makes clear what I mean with the following question:
Is it possible to receive an GET request (from a different
origin/JSONP), that is then processed, and during the processing some additional POST
requests are fired to another server which response needs to be appended
to the arguments of the padded JSON function?
Of course I could just use another request from within the callback to check for the results of the POST request, but I would prefer to do it in one step.
Appreciate any suggestions! Thanks
return {res: msg.ores, payload: "featureUpdateResult('test')"};
msg.res = msg.ores;
delete msg.ores;
msg.payload = "featureUpdateResult('test')";
return msg;