var http = require(‘http’);
var server = http.createServer(function(req, res){
//code
});
This does not work for me … or am i doing something wrong ?
var http = require(‘http’);
var server = http.createServer(function(req, res){
//code
});
This does not work for me … or am i doing something wrong ?
Hi,
What are you trying to achieve? I’d recommend you to check out npm modules and http functions .