diff options
Diffstat (limited to 'http.js')
| -rw-r--r-- | http.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +var http = require('http');
+http.createServer(function (req, res) {
+ res.writeHead(200, {'Content-Type': 'text/plain'});
+ res.end('Hello World from Me\n');
+ console.log(req);
+}).listen(process.env.PORT);
\ No newline at end of file |
