dimer47 / node-ovh-objectstorage

Creative Commons Attribution Share Alike 4.0 International
13 stars 11 forks source link

How to get a pdf file #23

Closed geraldapeoples closed 2 years ago

geraldapeoples commented 3 years ago

Hi,

I have an express api which is used to manage files stored in ovh objectstoreage, I would like to use your node-ovh-objectstorage package to retrieve files from ovh ... previously I was using axios with a content type of arraybuffer which is easy to work with, your package uses application/json although it is straight forward to the content I can't figure out how to turn it back into a pdf ... is there a mechanism for this?