question

Upvotes
Accepted
78.2k 246 52 72

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
24.4k 53 17 14

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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