Node.js - HTTP Module
Which of the following is the correct way to create a basic HTTP server in Node.js using ES modules?
import to load modules, not require.http.createServer with res.end() is correct; res.send() is not a Node.js method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions