## Program to create a server in node.js language ##
var http = require ('http');
http.createServer( function (req, res) {
res.writeHead (200, {'Content-type': 'text/plain'});
res.end ('Hello World!!');
}).listen (8080);
===OUTPUT===
Hello World!!
No comments:
Post a Comment