So I got two files my main file
file app.js
var products_id = require('./routes/productId');
app.use('/allProducts/:id',products_id);
and my route file `productId.js``where I am making a request :
router.get('/', function(req, res, next) {}
which I want to access to the parameter that the user pass /allProducts/:id/