express send raw html
res.set('Content-Type', 'text/html');
res.send(new Buffer('<h2>Test String</h2>'));express send raw html
res.set('Content-Type', 'text/html');
res.send(new Buffer('<h2>Test String</h2>'));body parser express
app.use(express.json()); //Used to parse JSON bodieswhat is body parser in express
Body-parser is the Node.js body parsing middleware. 
It is responsible for parsing the incoming request 
bodies in a middleware before you handle it.
npm install : npm install body-parserCopyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us
