• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I get binary data from HTML to PDF conversion?

New Here ,
Aug 24, 2022 Aug 24, 2022

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

TOPICS
How to , Node.js SDK , PDF Services API , REST APIs

Views

203

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources