How do I access response Body and header inside a function #1281
-
I have a requirement where,
I am trying to do this in a function. I am not able to figure out how to get the responseBody/headers in the function. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @ifnotnithya please see all the functions and properties available in custom scripting docs example script file |
Beta Was this translation helpful? Give feedback.
-
Thanks @rangav |
Beta Was this translation helpful? Give feedback.
Hi @ifnotnithya
please see all the functions and properties available in
tc
objecthttps://github.com/rangav/thunder-client-support/blob/master/docs/tc-types.d.ts
custom scripting docs
https://github.com/rangav/thunder-client-support/blob/master/docs/filters.md#custom-filters
example script file
https://github.com/rangav/thunder-client-support/blob/master/docs/custom-filters.js