N
Nuxt3y ago
Markeem

How to return blob (application-pdf) from api route

Hey I am using the Browserless.io api to generate pdf files, which returns a Blob (application/pdf). When I return the blob as is, i only get a proxy object on the client side with nothing in it. It works when using: Buffer.from(await data.text()).toString('base64') Is this the right way to do it ?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server