Skip to content

Instantly share code, notes, and snippets.

@csainty
Created October 27, 2011 05:38
Show Gist options
  • Save csainty/1318857 to your computer and use it in GitHub Desktop.
Save csainty/1318857 to your computer and use it in GitHub Desktop.
Code for Node blog post
var http = require('http');
http.createServer(function(request, response) {
response.statusCode = 200;
response.setHeader('Content-Type', 'text/plain');
response.end('Hello World');
}).listen(8080);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment