Just try: $jsonData = (array)$request->getParsedBody();
http://www.slimframework.com/docs/v4/objects/request.html#the-request-body
Just try: $jsonData = (array)$request->getParsedBody();
http://www.slimframework.com/docs/v4/objects/request.html#the-request-body