The ______ property of the request object in the http module contains the HTTP method of the request.
- method
- type
- httpMethod
The method property of the request object in the http module contains the HTTP method of the request. This property allows you to determine whether the request is a GET, POST, PUT, DELETE, or another HTTP method, which is important for routing and handling requests correctly.
Loading...
Related Quiz
- Which of the following ESLint rules enforces consistent indentation in your code?
- How does the Event Loop mechanism in Node.js contribute to its non-blocking I/O feature, impacting performance positively?
- Which of the following template engines uses a tag-based syntax to embed JavaScript code into HTML?
- How does JavaScript's dynamic typing affect variable assignments and operations?
- What is the primary purpose of implementing CORS in web development?