question

Upvotes
Accepted
38.1k 69 35 53

Is there a way of explicitly requesting gzipped content?​ (from Webinar May 31)

Previously we downloaded TimesAndSales data via gzipped FTP files. It looks like this data is now downloaded uncompressed. Is there a way of explicitly requesting gzipped content?

tick-history-rest-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
11.5k 16 7 10

The extraction data is always delivered in compressed (gzip) format. The fact that it is delivered in compressed format might not have been obvious in the demo, because some consuming frameworks, like Postman, will automatically decompress the data.

Depending on the programming libraries and methods you use you can set automatic decompression on or off. It is, of course, possible to download and extract the gzipped file from the service via the API, without even decompressing it.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea