How to send gzipped data in the POST request

Our server app only accepts JSON request data in gzip format. When I generate gzipped binary file manually and send via Body->binary file, it works. But it is not able to test the collection automatically as we have to get token from the response to generate subsequent binary requests.
I tried to eval an external JS lib, and gzip the string. But the output is an Array, rather a binary string.
Is there an official support to generate gzipped data in Pre-req script to achieve such goal?

1 Like

Hello

Can somebody answer please?

Can anyone help?? Is there no solution to this yet?

Are there no libraries in Postman that will Gzip a string?

I have to send a request with part of the request body being Gzipped.

Cheers