Converted all the post calls to use $app->getRequest()->getBody()