app.use('/',function(req,res){
res.send("hello world"); //send to browser
console.log("by"); //print in console
req.end; //req is end here
}).listen(3000);
1 个答案:
答案 0 :(得分:1)
app.use('/',function(req,res){
res.send("hello world"); //send to browser
console.log("by"); //print in console
req.end; //req is end here
}).listen(3000);