Kizspy | Question: 39
(Choose 2 answers)
Which of the following statements correctly describe the process of creating and starting an HTTP server in
Node.js?
A. The http.createServer method is used to create a server instance.
B. The server.listen method is used to start the server and listen for incoming requests.
C. The require('http') statement is used to install the http module.
D. The npm i http command is used to require the http module in your code.