title: How to get the POST request entity using Slim framework
body: <p>I have sent <code>JSON</code> data using android java by setting it in the post entity like this:</p>
  
  <pre><code>HttpPost httpPostRequest = new HttpPost(URLs.AddRecipe);
  StringEntity se = new StringEntity(jsonObject.toString());
  httpPostRequest.setEntity(se);
  </code></pre>
  
  <p>How can I receive this <code>json</code> data in the <code>php</code> , where I am using <code>Slim framework</code> ?
  I have tried this: </p>
  
  <pre><code>$app-&gt;post('/recipe/insert/', 'authenticate', function() use ($app) { 
              $response = array();
              $json = $app-&gt;request()-&gt;post(); 
  });
  </code></pre>