title: How to pass multipart request from one server to another in NodeJS?
body: <p>I have two nodeJS servers,
  Server 1 gets requests from the client and passes it to server 2 which returns a response to server 1 and it responds to the client.
  The client uploads a file and it has to be passed the same way as any other rest request that I have.</p>
  
  <p>I use <strong>axios</strong> on server 1 to send the data to server2 and <strong>multer</strong> on server 2 to store the file on disk.</p>
  
  <p>I have an issue sending the request from server1 to server2 because the body of the request contains nothing and the request is <strong>Multipart</strong>.
  <a href="https://i.stack.imgur.com/3QWOv.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/3QWOv.jpg" alt="enter image description here"></a></p>
  
  <p>How should I handle the request on Server 1 ???</p>
  
  <pre><code>router.post('/fileUpload', (req, res) =&gt; {
      console.log(req.body);
      res.status(200).json({ msg: "Got file" });
  });
  </code></pre>