Closed
Description
Hi!
I have read code and documentation provided but I couldn't find a way to pass parameters like we do in express.js. Yeah I did find a way to pass "hash" and numeric "id" but not a custom parameter.
$app.get('/user/:username', function ($req, $res) {
$res->send($req->params['username']);
}
Is there a way to do that in php-express?
Metadata
Metadata
Assignees
Labels
No labels