PDF file with junk characters

I have a requirement, where I need to expose an API to receive a PDF and send it to another end user API.

I am able to achieve below

  • Able to receive file (PDF) from source and store it locally (in node-red) using http in & a function node.
  • Able to send locally stored file to end user API using http request
  • Locally stored PDF file in expected format.

Problem:

  • PDF file which received at the end user is full of Junk characters.

Am clueless what caused these junk characters and am just beginner to node-red.

Appreciate your response.

Able to resolve, solution as below.
flows-4.json (641 Bytes)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.