title: how to handle multipart/form-data in node.js
body: <p>I am uploading image file from client side using multipart form data. I want to receieve and write it as a file in the server side using node.js.</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;form action="url" method="post" enctype="multipart/form-data"&gt;
              &lt;input type="text" name="imageName"&gt;
              &lt;input type="file" name="sam"&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is my client side code. How to handle this file in server side.</p>