I know that if I pass in the url as below:
http:
So that I can use below in ExpressJS to extract data:
res.send(util.format('You are looking for company: %s customer: %s', req.query.companyid, req.query.customerid));
But I would like to iterate over the parameters and process them without predetermining them in my query. It seems I can not find anything in the Express API, etc., which seems to work (maybe looking directly at it).
http://localhost:3000/customer?companyid=300&customerid=200&type=employee
Any comments / suggestions would be appreciated!
Thanks,
S
source share