Encabezado de respuesta del nodo JS
response.setHeader("Content-Type", "text/html");
Encouraging Eagle
response.setHeader("Content-Type", "text/html");
response.write("Heyy geeksforgeeks ", 'utf8', () => {
console.log("Writing string Data...");
});
// Prints Output on the browser in response
response.end(' ok');