Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Render raw html in response with Express

res.set('Content-Type', 'text/html');
res.send(Buffer.from('<h2>Test String</h2>'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Render #raw #html #response #Express
ADD COMMENT
Topic
Name
8+9 =