I am using the following code to send the requested URL to a class which then in theory should be able to access all of the args, however I am having issues sending the args over in the normal url layout.
Works
$app->get(’/’, \HomeController::class . ‘:home’);
$app->get(’/contact’, \HomeController::class . ‘:contact’);
Bring up this page cant be found
$app->get('/hello/{name}',\APIController::class . 'hello');
I have also tried it without /{name}