Im new on Node.js and Express and now Im observing that when I change the method on my calling app the params are in req.param([name]), req.body.[name] or req.query and it depends by the method.How to create a possibly empty array from filename glob? and here how to get POST query in express node.js?app.listen(8080) and here i get. in the console which means that the body object is empty for some reason.then just get your request parameter as : console.log(req.param ("parameter-name")) i using node.js , mongodb geolocation app , req param returns empty array.if use values 8.9068256,52.019347499999995 getting value database if use req.param(q) returning empty array. The iOS web view opens the node.
js app just fine. However, the android is having troubles.I have even hard coded the same param value that i get from the iOS version, to no avail. Im guessing it has to do with that second empty req coming in from somewhere. Im 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.