Skip to content

Instantly share code, notes, and snippets.

@gquental
Created August 30, 2012 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gquental/3521725 to your computer and use it in GitHub Desktop.
Save gquental/3521725 to your computer and use it in GitHub Desktop.
CW35 Hack Thursday - NodeJS - HTTP
var http = require('http');
http.createServer(function(req, res) {
res.writeHead({'Content-type': 'text/html'});
res.write('<p>testando</p>');
res.end();
}).listen(3030);
console.log('running');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment