title: Java Spring: Content type 'multipart/form-data;boundary ;charset=UTF-8' not supported
body: <p>I have created a controller:</p>
  
  <pre><code>@RequestMapping(value = "/photo/" , method = RequestMethod.POST)
  public @ResponseBody
  void addPhotoData(@RequestBody Photo photo, @RequestParam("data")
          MultipartFile photoData) {
  
      InputStream in = null;
      try {
          in = photoData.getInputStream();
          photoService.save(photo, in);
      } catch (IOException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>and I send the request with Postman:<a href="https://i.stack.imgur.com/Cq0Dr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Cq0Dr.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/KlJ1v.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KlJ1v.png" alt="enter image description here"></a></p>
  
  <p>I cannot understand why I receive the error 415 not supported.
  Help!</p>