To handle HTTPS requests using the http module, the ______ module should also be used in conjunction.
- net
- tls
- crypto
- url
To handle HTTPS requests using the http module, the tls (Transport Layer Security) module should also be used in conjunction. TLS provides encryption and security for HTTPS connections. The net module is used for basic networking, crypto for cryptographic operations, and url for parsing URL strings, but tls is specifically used for securing HTTP with HTTPS.
Loading...
Related Quiz
- What is the primary purpose of using an index in a database?
- You are working on a project where multiple microservices need to interact with the same database. How would you manage model definitions and migrations in Sequelize to ensure consistency across services?
- Which of the following is true about the global object in a Node.js module?
- When are CORS preflight requests sent by the browser?
- How can you simulate user actions like clicks or keyboard inputs in Jest?