How to send gzipped data in the POST request


#1

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?