Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.post("/someUrl/:categoryId/:someName", function(req, res) {
- // Request to /someUrl/12/gary?username=ganesh&password=shouldnotbehere
- res.send(200).send({result: 'Query params as object', queryParams: req.query});
- });
Add Comment
Please, Sign In to add comment