Issue
is it possible to extract and set as variable the "Payload Request" which has been pushed in order to receive particular response?
Solution
You can access the request object in the callback function by response.request
.
This object is the request object itself, so it contains everything you passed in the request. It doesn't have a "payload" attribute though.
The equivalent should be response.request.body
, assuming you had a body in the request. Everything else is still there, headers, cookies, meta, method, etc
More on the params of request here.
Answered By - renatodvc
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.