The simplest possible way to do this is the following:
In the Controller method you need to extract the body from, add this parameter: [FromBody] SomeClass value
Declare the "SomeClass" as: class SomeClass { public string SomeParameter { get; set; } }
When the raw body is sent as json, .net core knows how to read it very easily.