Answers for "route parameter in node"

0

route parameter in node

var express = require('express');
var fs  = require('fs');
var app= express();
 app.get('/index/profile/:id',function(req,res){
    //  res.send('profile with id' + req.params.id)

    
    
 });
app.listen(3000,'127.0.0.1');
console.log('lsitng');
Posted by: Guest on May-26-2020

Code answers related to "route parameter in node"

Code answers related to "Javascript"

Browse Popular Code Answers by Language