mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-22 04:45:16 +00:00
Distinction
This commit is contained in:
parent
e775f8e675
commit
b995f9e2c4
@ -165,10 +165,12 @@ app.use('<admin dir>', admin)`; // Mounting a sub - app
|
|||||||
|
|
||||||
`req.param('name')`
|
`req.param('name')`
|
||||||
|
|
||||||
``app.post('/', function (req, res, next) {
|
``Properties``
|
||||||
|
|
||||||
|
`app.post('/', function (req, res, next) {
|
||||||
console.log(req.body)
|
console.log(req.body)
|
||||||
res.json(req.body)
|
res.json(req.body)
|
||||||
})``
|
})`
|
||||||
|
|
||||||
`console.dir(req.cookies.name)`
|
`console.dir(req.cookies.name)`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user