1
I set up 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’d like to direct to the url localhost:8080/forgetPassord
and grab the rest of the url id/hash
where I’ll do the validation. However, I’m not finding a way to get this data.
Perfect, thanks!
– Jonathan