Feel free to use “log” and “rawlog” functions inside virtual endpoint for the debugging purpose.
like this: “log(JSON.stringify(Req))”
However I don’t quite get why you do:
var myReq = JSON.parse(request.Body);
var Req = JSON.stringify(myReq);
Since it is essentially the same as using request.Body
directly (except that it does additional JSON validation).
Hope it helps!