Skip to content
Snippets Groups Projects
Commit a83a8a1a authored by Alexandra's avatar Alexandra
Browse files

Initial commit

parents
Branches main
No related tags found
No related merge requests found
index.js 0 → 100644
const http = require('http');
const requestListener = function (req, res) {
res.writeHead(200);
console.log('res', req);
console.log('res', req.rawHeaders);
res.end('Hello, World!');
}
const server = http.createServer(requestListener);
server.listen(8080);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment