alexp95A
Denoβ€’3y agoβ€’
1 reply
alexp95

Get a Parameter Value in Oak

so if I set up a router like this
router.get("/:id", (ctx) => {/*handle router context*/})
then how do I get the value of the id parameter? I have tried ctx.id and it did not accept it
Was this page helpful?