node take arguments code example
Example 1: node get args
console.log(process.argv);
Example 2: node.js parameters
app.get('/index/profile/:id', function (req, res) {
res.end('profile with id' + req.params.id)
});
console.log(process.argv);
app.get('/index/profile/:id', function (req, res) {
res.end('profile with id' + req.params.id)
});