I\'m using Node.js and I want to see all of the parameters that have been posted to my script. To get to my function, in my routes/index.js I\'m doing:
routes/index.js
req.params can only get the param of request url in this pattern:/user/:name
/user/:name
req.query get query params(name) like /user?name=123 or body params.
/user?name=123