title: ASP.NET Core 2 - Missing content-type boundary
body: <p>I'm trying to upload a file from a Angular client to my ASP.NET Core 2 WebAPI service. When I call the service, I get back an Internal Server Error. That's the error I'm getting:
  <a href="https://i.stack.imgur.com/McsgQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/McsgQ.png" alt="enter image description here"></a></p>
  
  <p>The component I'm using client-side is this one: <a href="https://github.com/bleenco/ngx-uploader" rel="noreferrer">ngx-uploader</a>  </p>
  
  <p>In my request options, i set them as you can see here:</p>
  
  <pre><code>  const event: UploadInput = {
    type: 'uploadAll',
    url: this.printService.apiFilesBaseUrl + '/Upload',
    method: 'POST',
    file: this.files[0],
    headers: {
      'Content-Type': 'multipart/form-data',
      'Accept': '*/*',
      'Authorization': 'Bearer ' + this.authService.getToken()
    }
  };
  </code></pre>
  
  <p>While, server-side my controller action signature is this one:  </p>
  
  <pre><code>    [HttpPost]
      [Route("Upload")]
      [Authorize]
      public Guid Post(IFormFile file)
  </code></pre>
  
  <p>Breakpoints in this controller action never get hit.</p>
  
  <p>Can someone please share ideas about what's happening here?</p>
  
  <p>Here, as requested, i will post my request header and payload:</p>
  
  <p><a href="https://i.stack.imgur.com/OJ5CY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OJ5CY.png" alt="enter image description here"></a></p>
  
  <p>Thanks in advance.</p>