D
Deno
A
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*/})
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
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
get in oak
D
dan.the.discloser / help
4y ago
How do I have a subrouter in Oak?
A
alexp95 / help
3y ago