What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-02 04:45:06
req.params.id in nodejs
req.params contains route parameters (in the path portion of the URL), and req.query contains the URL query parameters (after the ? in the URL). You can also use req.param(name) to look up a parameter in both places (as well as req.body), but this method... Add solution -
Other 2021-10-01 03:33:04
difference between req.query and req.params
req.params contains route parameters (in the path portion of the URL), and req.query contains the URL query parameters (after the ? in the URL). You can also use req.param(name) to look up a parameter in both places (as well as req.body), but this method... Add solution
Best helpers
Ranking is empty