mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2025-11-08 14:01:35 +00:00
Distinction
This commit is contained in:
@@ -165,10 +165,12 @@ app.use('<admin dir>', admin)`; // Mounting a sub - app
|
||||
|
||||
`req.param('name')`
|
||||
|
||||
``app.post('/', function (req, res, next) {
|
||||
``Properties``
|
||||
|
||||
`app.post('/', function (req, res, next) {
|
||||
console.log(req.body)
|
||||
res.json(req.body)
|
||||
})``
|
||||
})`
|
||||
|
||||
`console.dir(req.cookies.name)`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user