title: Cloudinary\Error: Missing required parameter - file - Express and Postman
body: <p>first time trying to upload images to Cloudinary and I have come across an issue when using Express via Postman.</p>
  <p><a href="https://i.stack.imgur.com/soESk.png" rel="nofollow noreferrer">Using form-data on setting 'file' to upload an image to Cloudinary</a></p>
  <p>As of now, when I try to access the req.body I get an empty object, so I guess that has to do with why cloudinary.uploader.upload cannot read the file passed as its first param, since its req.body.file, as shown in the code below.</p>
  <pre><code>cloudinary.config({
      cloud_name: process.env.CLOUDINARY_CLOUD_NAME,
      api_key: process.env.CLOUDINARY_KEY,
      api_secret:  process.env.CLOUDINARY_SECRET
  })
  
  
  
  exports.upload = async (req, res) =&gt; {
  
    try{
     
  console.log(req.body);
  const result =  await cloudinary.uploader.upload(req.body.file, {
      public_id: `${Date.now()}`, 
      resource_type: &quot;auto&quot;
  })
  
  return res.json({
      public_id: result.public_id,
      url: result.secure_url
  })
  
  }catch(err){
    console.log(err)
  }
  
  } 
  </code></pre>
  <p>The error message I get:</p>
  <pre><code>{
    message: 'Missing required parameter - file',
    name: 'Error',
    http_code: 400
  }
  </code></pre>
  <p>Any suggestions to solve this issue?</p>