title: Sending image and additional info via HTTP
body: <p>I want to send and image AND other text information,
  I saw that for the image I need to use <code>enctype=&quot;multipart/form-data&quot;</code> in the form. But doing this make me unable to see the other information needed.</p>
  <pre class="lang-html prettyprint-override"><code> &lt;form action=&quot;/new&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot;&gt;
        &lt;input type=&quot;text&quot; id=&quot;name&quot; value=&quot;&quot;/&gt;
        &lt;input type=&quot;file&quot; name=&quot;image&quot; accept=&quot;image/*&quot;  value=&quot;Compagny Logo&quot;/&gt;
        &lt;input type=&quot;submit&quot; value=&quot;Load compagny&quot;/&gt;
  &lt;/form&gt;
  </code></pre>
  <pre class="lang-js prettyprint-override"><code>
  var storage = multer.diskStorage({
      destination: (req, file, callBack) =&gt; {
          callBack(null, './public/images/')
      },
      filename: (req, file, callBack) =&gt; {
          callBack(null, file.fieldname + '-' + Date.now() + path.extname(file.originalname))
      }
  })
   
  var upload = multer({
      storage: storage
  });
  
  router.post(&quot;/new&quot;, upload.single('image'), (req, res) =&gt; {
          console.log(req.file.filename) // work
          console.log(req.name) // does'nt work
      }
  });
  
  </code></pre>
  <p>Is there and other <code>enctype</code> I need to use ?</p>