i am upgrading my application from slim v2 to v4
i have one route function menitoned below
$group->get('/get-data/{url}', '\V2:get_data');
when i pass the url variable a
api.app.com/get-data/xxxx%2fyyyyy
the route gives 404 ,
i tried with accessing the url in function with args but
function get_data($request,$response,$args){
$slug =$args['url'];
print_r($slug);die;
}
but it doesn’t even entering into the function
can anyone help with how we can pass the dynamic para with %2f
in slim v4