title: Asp.net Core 2 API POST Objects are NULL?
body: <p>I have a .net Core 2 API setup with some test function. (Visual Studio 2017)</p>
  
  <p>Using postman I do a post with the raw data to that method, but the model is just blank? Why?</p>
  
  <pre><code>        // POST api/Product/test
          [HttpPost]
          [Route("test")]
          public object test(MyTestModel model)
          {
              try
              {
                  var a = model.SomeTestParam;
  
                  return Ok("Yey");
              }
              catch (Exception ex)
              {
                  return BadRequest(new { message = ex.Message });
              }
          }
  
          public class MyTestModel
          {
              public int SomeTestParam { get; set; }
  
          }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/v6Vpz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/v6Vpz.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/qR468.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qR468.png" alt="enter image description here"></a></p>