From 9731e6841b46e4c4252e5811119a54fb0d4f0382 Mon Sep 17 00:00:00 2001 From: Zoheb Alli Khan Date: Thu, 3 Jun 2021 09:59:08 +0530 Subject: [PATCH] Structured Components --- backend/express.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/express.js b/backend/express.js index 9c9987c..f3e1c8c 100644 --- a/backend/express.js +++ b/backend/express.js @@ -16,28 +16,28 @@ Methods; express.json([options]); options: ` -inflate // to manage the deflated bodies like enabling and disabling +inflate // to manage the deflated bodies like enabling and disabling -limit // Controls the maximum request body size. +limit // Controls the maximum request body size. -reviver // It is passed directly to JSON.parse as an second argument +reviver // It is passed directly to JSON.parse as an second argument -type // This is used to determine the type of middleware will parse +type // This is used to determine the type of middleware will parse -verify // It is an undefined function which used to verify the middleware parsing. +verify // It is an undefined function which used to verify the middleware parsing. `; express.raw([options]); options: ` -inflate // to manage the deflated bodies like enabling and disabling +inflate // to manage the deflated bodies like enabling and disabling -limit // Controls the maximum request body size. +limit // Controls the maximum request body size. -type // This is used to determine the type of middleware will parse +type // This is used to determine the type of middleware will parse -verify // It is an undefined function which used to verify the middleware parsing. +verify // It is an undefined function which used to verify the middleware parsing. `; express.Router([options]);