3

Assume I have two servers both run on NodeJS. First receive a file using Multer and convert it to buffer as output, then convert it to blob and put it to form-data and post it via NodeJS https.request to second server. What I cannot handle is how to convert buffer to blob in NodeJS. Any help will be appreciated.

weera
  • 884
  • 1
  • 10
  • 21

1 Answers1

0

If you use formdata-node, it's got it's own Blob class.

niknah
  • 87
  • 3