Copy link to clipboard
Copied
Hi everyone,
I'm using Adobe's PDFServicesSDK (node) to convert html to a PDF which will be sent to Adobe Sign API endpoint for signature. I can successfully save the file locally to my Azure function app using the SDK's saveAsFile method. Is there a way to save the file as a stream or buffer to be sent back to the client?
I've tried saving the file locally and then reading the file using Node's file system, which works when I run my Azure function app locally but I'm getting a 500 server error when I trigger my function app from the browser
Have something to add?