ScriptCall Server Code Response
I'm calling a script from another script server-side
call:
var res = ScriptCall.call("123", {"user_id":33}, "body text", "text/plain");
(this script 123 gives the response {"urlpic":"test"} when tested independently)
What code do I use to get this in the response of the original script?
Right now I'm trying to use
otheruserpic=res.body;
but this gives an incorrect output to what I want: {"otheruserpicurl":"{\"urlpic\"":\""test\""}""}
I just need {""otheruserpicurl"":""test""}"