If you want to capture the parameter of your JSON put request, then there is a simple solution in Slim.
JSON
//$app->request()->params('parameterKey');$params = $app->request()->params('value');
I think I got your question and let me know if it solves.
$message->value
json_decode will create a standard php object for you. You can also try var_dump($message) to see the structure of the object for debugging.
I use the below code to pull the request body
$request = Slim::getInstance()->request();$user = json_decode($request->getBody());