profile
viewpoint

Ask questionsCannot get params from context

It seems that get method does not handle the parameter from the url if I write that route router.get('/book/:id', (context) => { // route action }) nothing is happening. I removed the '/:id' part of the string and that seems to be the issue here ... but how to indicate parameters if not that way ?

oakserver/oak

Answer questions kitsonk

As stated by @LauraBeatris a more complete reproduction is required.

useful!

Related questions

No questions were found.
Github User Rank List