1
  1. User uses input(type="file") to upload file on server
  2. req.files.avatar to access file on server side

How can I send this file (req.files.avatar) by HTTP POST method (name="avatar") to another server. I don't want to store it before sending.

1 Answer 1

2

I think what your looking for is;

https://github.com/nodejitsu/node-http-proxy
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.