support req.query and req.params