title: What is the ASP.NET Core equivalent to HttpRequestMessage?
body: <p>I found a <a href="http://bizcoder.com/posting-raw-json-to-web-api" rel="noreferrer">blog post</a> that shows how POSTed JSON can be received as a string.  </p>
  
  <p>I want to know what's the new native way to do the same thing as the following code in a REST Post method in a Controller:</p>
  
  <pre><code>public async Task&lt;HttpResponseMessage&gt; Post(HttpRequestMessage request)
  {
      var jsonString = await request.Content.ReadAsStringAsync();
  
      // Do something with the string 
  
      return new HttpResponseMessage(HttpStatusCode.Created);
  }
  </code></pre>
  
  <p>The other option bellow does not work for me, i think because I don't use <code>Content-Type: application/json</code> in the request header (can't change this), and I get a 415 . </p>
  
  <pre><code>public HttpResponseMessage Post([FromBody]JToken jsonbody)
  {
      // Process the jsonbody 
  
      return new HttpResponseMessage(HttpStatusCode.Created);
  }
  </code></pre>