parse the req.url