I have a REST client on node, and I\'m trying to upload pdf a file to another REST webserver which provides the ability to parse my pdf and extract some data. Basically it is a
You can use request.
There is an example for that
fs.createReadStream('file.pdf').pipe(request.post('http://example.com/file'))