In Express, the ______ method is used to specify a callback function to handle HTTP GET requests to a specified route.
- GET
- POST
- PUT
- callback
In Express.js, the GET method is used to specify a callback function to handle HTTP GET requests to a specified route. The GET method is a standard HTTP method for retrieving data from a server.
Loading...
Related Quiz
- When using the map method on an array in JavaScript, the original array ______ be mutated.
- What is the primary purpose of the NPM registry in Node.js development?
- How can you access the properties of an object in JavaScript?
- Node.js uses ________ to achieve Non-Blocking I/O operations, allowing it to handle many connections simultaneously.
- What is the main difference between SQL and NoSQL databases regarding data structure?