title: HttpRequestData wraps body in { "json" : "" }
body: <p>I am trying to set up an .NET 5 Azure Http function that takes a request with a json body and outputs it to the logs.</p>
  <pre><code>using System.Threading.Tasks;
  using Microsoft.Azure.Functions.Worker;
  using Microsoft.Azure.Functions.Worker.Pipeline;
  using Microsoft.Azure.WebJobs;
  using Microsoft.Azure.WebJobs.Extensions.Http;
  using Microsoft.Extensions.Logging;
  
  namespace MyProject.Test
  {
      public sealed class Function
      {
          [FunctionName(&quot;Test&quot;)]
          public async Task RunAsync(
              [HttpTrigger(AuthorizationLevel.Function, &quot;post&quot;, Route = null)]
              HttpRequestData requestData,
              FunctionExecutionContext executionContext)
          {
              executionContext.Logger.LogInformation(requestData.Body);
          }
      }
  }
  </code></pre>
  <p>I post a json body to using Postman</p>
  <pre><code>{
      &quot;myProperty&quot;: &quot;abc123&quot;
  }
  </code></pre>
  <p>Which outputs</p>
  <pre><code>{ &quot;json&quot;: &quot;{\&quot;myProperty\&quot;:\&quot;abc123\&quot;}&quot; }
  </code></pre>
  <p>I'm not sure why the function is wrapping the body in <code>{ &quot;json&quot;: &quot;&quot; }</code>.</p>
  <p>Have I set up the function incorrectly? Or is it set up correctly and there is another way I can access the raw body?</p>