title: List of Guids not Model Binding Asp.Net Core
body: <p>i'm sending an array of Guids to an ASP.NET Core Web app using aurelia-fetch-client, however on the server side the model binder doesn't pick it up and the list of <code>notificationIds</code> is <code>null</code>. However when i make the request through Swagger, or CURL it binds just fine.</p>
  
  <p>I changed the signature of my controller method to accept a list of strings just in case there was something wrong with the GUID formatting, but same issue.</p>
  
  <p>JS</p>
  
  <pre><code>var body = {notificationIds :  this.notifications.map(x =&gt; x.notificationId) };
      console.log("Dismissing All notifications");
  
      await this.httpClient.fetch('http://localhost:5000/api/notifications/clear',
          {
              method: 'POST',
              body: json(body),
              headers: {
                  'Authorization': `Bearer ${localStorage.getItem('access_token')}`,
                  'Accept': 'application/json',
                  'Content-Type': 'application/json',
                  'X-Requested-With': 'Fetch'
              },
              mode: 'cors'
          }).then(response =&gt; {
              if(response.status == 204){
                 //Success! Remove Notifications from VM
              }
              else{
  
                  console.log(response.status)
              }
          })
  </code></pre>
  
  <p>Controller Method</p>
  
  <pre><code>// POST: api/Notifications
          [HttpPost]
          [Route("clear")]
          [ProducesResponseType((int)HttpStatusCode.NoContent)]
          [ProducesResponseType((int)HttpStatusCode.BadRequest)]
          public async Task&lt;IActionResult&gt; Post([FromBody]List&lt;string&gt; notificationIds)
          {
              if (notificationIds.IsNullOrEmpty())
              {
                  return BadRequest("No notifications requested to be cleared");
              }
  
              var name = User.Claims.ElementAt(1);
  
              await _notificationRepository.Acknowledge(notificationIds, name.Value);
  
              return NoContent();
  }
  </code></pre>
  
  <p>Interesting thing is that Chrome (V62) shows nothing posted.
  <a href="https://i.stack.imgur.com/db9nS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/db9nS.png" alt="enter image description here"></a></p>
  
  <p>But Fiddler does</p>
  
  <p><a href="https://i.stack.imgur.com/FsRqF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FsRqF.png" alt="enter image description here"></a></p>