What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-31 19:14:01
Create a server which serves at port 3000 and with node.js command prompt
// app.js const http = require('http'); // Create an instance of the http server to handle HTTP requests let app = http.createServer((req, res) => { // Set a response type of plain text for the response res.writeHead(200, {'Content-Type': 'te... Add solution