mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-10-29 00:04:06 -07:00
Distinction
This commit is contained in:
1 parent
e775f8e675
commit
b995f9e2c4
1 file changed
+4
-2
+4
-2
@@ -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)`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user