Which built-in module in Node.js is used to create HTTP servers?

Node.js Developer Easy

Node.js Developer — Easy

Which built-in module in Node.js is used to create HTTP servers?

Key points

  • The http module in Node.js is used for creating HTTP servers.
  • It provides functions to handle HTTP requests and responses.
  • Other modules like net are not specifically tailored for creating HTTP servers.

Ready to go further?

Related questions