title: How to read file and send to other URL
body: <p>How to read file from file system and send that to another URL ? Its similar to CURL request which we use in other languages.</p>
  
  <p>I have tried following, but that is not working.</p>
  
  <pre><code>fs.createReadStream(files.upload.path).pipe(request.post('http://localhost/test.php', function (err, response, body) {
                  if (err) {
                      throw err;
                  } else {
                      console.log(body);
                      res.end();
                  }
              }));
  </code></pre>