title: Web API POST request object is always null
body: <p>I am using .Net Core API 2.1
  I have this in my Controller:</p>
  <pre><code>[Route(&quot;Invoke&quot;)]
          [HttpPost]
          public IActionResult Invoke(Student studentDetails)
          {
              DetailsResponse objResponse;
              if(ModelState.IsValid)
                  {
                    objResponse= GetDetails(studentDetails);
                  }
                return OK(objResponse);  
          }
  </code></pre>
  <p>I am trying to invoke the Invoke action method from Postman with the request body as</p>
  <pre><code>{&quot;student&quot;: {&quot;name&quot;:&quot;John Doe&quot;, &quot;age&quot;:18, &quot;country&quot;:&quot;United States of America&quot;}}
  </code></pre>
  <p>This object is always null in the controller.
  If i try to invoke the action method from Postman with the request body as</p>
  <pre><code>{&quot;name&quot;:&quot;John Doe&quot;, &quot;age&quot;:18, &quot;country&quot;:&quot;United States of America&quot;}
  </code></pre>
  <p>Here the object has the data and is working fine.
  My question is to invoke the action with the root node like shown below</p>
  <pre><code>{&quot;student&quot;: {&quot;name&quot;:&quot;John Doe&quot;, &quot;age&quot;:18, &quot;country&quot;:&quot;United States of America&quot;}}
  </code></pre>
  <p>Is there any possibility to achieve this?</p>