Created
November 14, 2013 22:02
-
-
Save troyth/7475083 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
// Start an HTTP server | |
http.createServer(function (request, response) { | |
// Every request gets the same "Hello Connect" response. | |
response.writeHead(200, {"Content-Type": "text/plain"}); | |
response.end("Hello Connect"); | |
}).listen(3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment