sendBody( <. node.js, write to file. Include the node file system object.node.js writing your own async series control flow. node.js getting files from a directory including sub-directories. node.js making https post request with x-www-form-urlencoded data. Abstract: Read HTML file in Node.js using simple File IO operations and send a HTML response back to client.resp.writeHead(404) resp.write(Contents you are looking are Not Found) Can I use plain HTML to write views in the Express framework? Node.js : How to embed Node.js into HTML? How do I pass form data over a websocket? (socket.io).