How to gzip and base64 encode a value of a variable

Hi all,
I need some help on this problem.
I’ve got a token extracted from a response and need to gzip and encode it for futher actions.
I found the embedded way to encode via js-lib in postman - but no clue how to gzip the value.

Thanks in advance.
Kind regards

Hi @elchicco392 Welcome to the community :slight_smile:

Some useful links that might be helpful to you

Hi @jency.stella19 . Thank you for helping. In need to zip the value of a variable inside the body. It is already decoded but need to be zipped as well.
Thank you for helping.
Kind regards