I am using jsforce to query VersionData field in ContentVersion object. However, it returns me the URL to the base64 data instead of the actual data.
If I make a GET request to the URL (using the correct authorization headers), I do not get the correct base64 data. It returns some incomprehensible junk (see image below).
I have also used 'request' method from 'Connection' class to make the http request but it returns the same data.
const t = await conn.request(url) console.log(t) // the same data
I want to convert the base64 data into Buffer (node.js) and send it to the the browser client.