Created
April 1, 2016 01:09
-
-
Save MasseGuillaume/a4fa8199aa3a896d7262530868c6b874 to your computer and use it in GitHub Desktop.
This file contains 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'); | |
var server = http.createServer(function (i, out){ | |
out.writeHead(200, {'Content-Type': 'application/json'}); | |
out.end(JSON.stringify({'name': 'out'})); | |
}) | |
server.listen(8080); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment