Node js basic structure of creating server
A. Method -1 var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end('Hello World!'); }).listen(8080);
0 Comments
August 22, 2023