I have created a url in the following format: localhost:8080/forgetPassword/id/hash
I have this route rendering:
app.get('/forgetPassword', function(req, res) {
res.render('pages/forgetPassword');
});
So I would like to target the url localhost:8080/forgetPassord
and get the rest of url id/hash
where I will do the validation. However, I can not find a way to get this data.