Slim 3 post method returns empty
<p>When I submit a from action to this url, and also test this api via Postman. It is not printing POST data.</p>

<p>But get method is working.</p>

<pre><code>$app = new \Slim\App;

$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv-&gt;load();

$app-&gt;add(new \Slim\Middleware\JwtAuthentication([
    //"secure"      =&gt; false,
    //"relaxed"         =&gt; ["localhost", "api.f2f.dev"],
    "header"        =&gt; "X-Token",
    "path"          =&gt; ["/v2"],
    "passthrough"   =&gt; ["/v1/api/token/", "/test", "/v1"],
    "secret"        =&gt; getenv("TOKEN_SECRET")
]));

$app-&gt;post("/v1/app/register", function ($request, $response, $arguments) {
     return $allPostPutVars = $request-&gt;getParsedBody();
});
</code></pre>

<p>I couldn't find the issue i this. But unparsed data is able to print.</p>

<p>Any help is welcome. Any post method on Slim 3 is also welcomed.</p>

<p>Thank you.</p>