Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http.createServer(function (req, res) {
- req.addListener("end",function(){
- sys.puts("request end");
- });
- res.writeHead(200, {'Content-Type': 'text/plain'});
- res.write('Hello World');
- res.close();
- }).listen(8006);
Add Comment
Please, Sign In to add comment