node js request headers example Example: node js response header response.setHeader("Content-Type", "text/html");