The challenge : https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/get-route-parameter-input-from-the-client
The hint : freeCodeCamp Challenge Guide: Get Route Parameter Input from the Client
There is a mistake in the hint, we should have
var param1 = req.params.param1;
as req.params.parameter1
is undefined.