Answers for "express res send html and string"

-1

express send html from string

// Express.JS: Send HTML from string
res.send(`
  <h1>Welcome</h1>
  <h2>Scroll to learn more</h2>
`);
Posted by: Guest on March-30-2022

Browse Popular Code Answers by Language