4

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.

3

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.