//index.js
var express=require('express');
var app=express();
app.get('/',function(req,res){
res.send('hello express');
});
app.get('/user/:name',function(req,res){
res.send('hello '+req.params.name);
});
app.listen(3000);
Why does the page display 'Cannot GET /users/fabrice' when accessing 'localhost:3000/users/fabrice'
Please let me know, thanks ~~
You wrote an extra s
Your route is configured with user, but the access is users←_←