To access the paramters of a URL, such us: hptts://www.natours.com/api/v1/tours/456123123557522
const params = req.params;
Returns an array of the different params of the URL
To access the queries: https://www.natours.com/api/v1/tours/?duration=5&price=599
const queries = req.query;
Returns an array of the different queries