Closed zacharyburnett closed 1 year ago
ah never mind, I pored through the response header again and noticed content-encoding: gzip
; I just needed to enable the gzip
feature for reqwest
in my Cargo.toml
and it worked 😅
Yep, all responses are compressed to save us bandwidth!
What are you trying to grab? If you're going to be regularly getting data, please use websockets (e.g. using pysondehub ) to get the data 'live' rather than having to poll regularly.
I apologize if this is a simple question; I'm not too familiar with this kind of thing.
running an example
curl
command indicated by the Swagger page:results in the following bytes:
Upon visiting the URL, my browser decodes the JSON output correctly; however, I am unable to decode this programmatically. What encoding are these in? Is this compressed?