add a parameter to req.params in route express code example
Example 1: express route parameters
app.get('/',function(req,res)
{
res.send("Route path at base address");
});
Example 2: express route parameters
var express = require('express');
var http = require('http');
var app = express();