title: Can not send file to the .net core API from Axios (vue-nuxt)
body: <p>I get back 500 errors if i try to send a file from Vue to my API endpoint in .net Core </p>
  
  <p>I followed tutorials who do this, but they do not seem to work for this setup.</p>
  
  <p>.net core API:</p>
  
  <pre><code>    [Route("api/[controller]")]
      [ApiController]
      public class FileUploadController : ControllerBase
      {
  
          [HttpPost("[Action]")]
          public string sendFiles([FromBody]FileUploadAPI file)
          {
              return "Yes!";
          }
  
          public class FileUploadAPI
          {
              public IFormFile File { get; set; }
          }
      }
  </code></pre>
  
  <p>Vue:</p>
  
  <pre><code>
        this.$axios.post(
          'https://localhost:44352/api/fileupload/sendFiles',
          event.target.files[0],
          )  
          .then(function (response) {
            console.log(response);
          })
          .catch(function (error) {
            console.log(error);
        }); 
  </code></pre>
  
  <p>I want to receive my file in the API
  Request failed with status code 500</p>