@arunkumar413 Have you tried using body-parser instead?
It's a bit confusing which one to use body parser or express.json?
express.jsongo for it, though everything i have ever done has been with body-parser... and everything I have ever read has always said to use
Is there any way to use a dynamic route with an app (or router) .use?
When I do this, getHandler doesn't get req.params.userid.
I could just get the url and manually interpret it, but it's a lot easier to use dynamic routes, and I just generally like not trying to do the work around way, seeing as there's usually more bugs when I try to do that. Thanks!