diff --git a/backend/express.js b/backend/express.js index a06fc0a..6814152 100644 --- a/backend/express.js +++ b/backend/express.js @@ -158,4 +158,24 @@ app.use('', admin)`; // Mounting a sub - app `app.use(function(req,res,next){ res.send('Hey There!') -})` \ No newline at end of file +})` + +```Request``` +``Methods`` + +`req.param('name')` + +``app.post('/', function (req, res, next) { + console.log(req.body) + res.json(req.body) +})`` + +`console.dir(req.cookies.name)` + +`console.dir(req.query.q)` + +`console.log(req.route) +res.send('GET')` + +`console.dir(req.signedCookies.user)` +