Unable to post data

Hello all,

i am posting form-data from postman , and while getting data in php file it shows blank output ?
i am getting data by this request $app->request()->params(‘user_id’); and also tried $app->request()->post(‘user_id’);

Are you using Slim 3? If so, you probably want something like $request->getParsedBody(); or $request->$request->getAttribute('user_id');. See the docs on the Request object.