Skip to content
Snippets Groups Projects
Commit e777ae1c authored by Karthik Shetty's avatar Karthik Shetty
Browse files

Add hello.js

parents
No related branches found
No related tags found
No related merge requests found
hello.js 0 → 100644
const http = require("http");
http.createServer(function (req, res) {
// Send the HTTP header
// HTTP Status: 200 : OK
// Content Type: text/plain
res.writeHead(200, {'Content-Type': 'text/plain'});
// Send the response body as "Hello, World !!!"
res.end('node js hello world !!! \n');
}).listen(8000);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment