title: FromHeader Asp.NET Core binding to default value
body: <p>I'm testing Asp.Net core WebApi with the following basic controller:</p>
  
  <pre><code>[Route("test")]
  public class TestController
  {
      [Route("mult")]
      [HttpGet]
      public int Multiply(int x, int y)
      {
          return x * y;
      }
  }
  </code></pre>
  
  <p>Then, in Fiddler, I send the following request:</p>
  
  <p><a href="https://i.stack.imgur.com/0PgIX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0PgIX.png" alt="enter image description here"></a></p>
  
  <p>And, for some reason, the response is 0. Both <code>x</code> and <code>y</code> are binded to the default integer value when entering the method.</p>
  
  <p>I also tried:</p>
  
  <pre><code>[Route("test")]
  public class TestController
  {
      [Route("mult")]
      [HttpGet]
      public int Multiply([FromHeader]int x, [FromHeader]int y)
      {
          return x * y;
      }
  }
  </code></pre>
  
  <p>But the result is the same. What am I doing wrong?</p>