I'm wondering how to get an array that contains all parameters sent in a HTTP request.
If I read the doc: http://expressjs.com/4x/api.html#req.params
I can see that using req.params and req.query, params will be linked to the route parameters and query to the GET parameters. But how can I log the post parameters? The req.param() method requires an argument and doesn't returns an array if I don't provide one. Since all POST parameters must be used through req.param(), there is no way to log them for now. Or am I missing something?
My goal is to efficiently log all parameters to debug easily the application during development, let me know if you have a better way.
 
    