DemonMartin / tlsClient

A wrapper for bogdanfinn/tls-client based on ffi-rs for unparalleled performance and usability. Inspired by @dryft/tlsclient.
https://www.npmjs.com/package/tlsclientwrapper
22 stars 2 forks source link

Downloading files (PDFs) #7

Open Eastkap opened 3 months ago

Eastkap commented 3 months ago

Hi, I would like to download a file (pdf) hosted on an api that has TLS enforcing. When doing a GET request, the response is garbled and cannot be put together into a readable file.

Any ideas on how to implement this / do this ? I would happily write a PR / docs.