title: Required String parameter 'file' is not present () when submitting data to my springboot app
body: <p>In My controller, I have this method that receives data</p>
  
  <pre><code>    @RequestMapping(path = "/takemyvid", method = RequestMethod.POST)
      public String upload2(@RequestParam("summary") String summary, @RequestPart("file") MultipartFile file) {
      System.out.println(file);
      System.out.println(summary);
      return "";
  }
  </code></pre>
  
  <p>However when I test it with postman with the correct parameters, I get an error </p>
  
  <pre><code>Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'summary' is not present]
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/gGJnH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gGJnH.png" alt="Post Man Error"></a></p>
  
  <p>This happens even when I only include the file. </p>
  
  <p>I have setup the maximum file sizes in the properties file. </p>
  
  <pre><code>spring.servlet.multipart.max-file-size=128MB
  spring.servlet.multipart.max-request-size=128MB
  </code></pre>
  
  <p>Using Spring Boot version 2.1.2.RELEASE.</p>