title: Upload file and object detail at the same time with Spring MVC 4 in a RESTFull server
body: <p>I suppose to write a REST API which receives an Object detail (such as title, description, ..) and plus a File.</p>
  
  <p>Spring request is:</p>
  
  <pre><code>@RequestMapping(value = "new", method = RequestMethod.POST)
  public Content create(Content content,
          @RequestParam(value = "file", required = false) CommonsMultipartFile fileData){...}
  </code></pre>
  
  <p>the Content is:</p>
  
  <pre><code>public class Content{
      String title;
      String description;
  }
  </code></pre>
  
  <p>I send POST data with POSTMAN as described in this tutorial: <a href="https://www.youtube.com/watch?v=3vqvZmP28KE" rel="nofollow noreferrer">video on sending multipart/form-data requests</a></p>
  
  <p>But both content and fileData are null</p>