Answers for "render raw html in express"

1

express send raw html

res.set('Content-Type', 'text/html');
res.send(new Buffer('<h2>Test String</h2>'));
Posted by: Guest on October-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language