1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-22 04:45:16 +00:00

Distinction

This commit is contained in:
Zoheb Alli Khan 2021-06-04 10:47:31 +05:30
parent e775f8e675
commit b995f9e2c4

View File

@ -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)`