I´m trying to add the requests data to the headers. besides some other variables which work propper, trying to add the requests data results in a “Could not get any response” error.
Here´s what I do:
var body = request.data;
if(_.isEmpty(body)) body = “”;
Can one explain why the error occures? I´ll do the same with some other variables without any problems. adding the one for request data leads to the error.