using generic req.x apis