Direction: Choose the correct option
Q1.
Which property of the request object contains the HTTP method (GET, POST, etc.)?
Direction: Choose the correct option
Q2.
How do you send a JSON response using the response object?
Direction: Choose the correct option
Q3.
What does res.redirect('/home') do?
Direction: Choose the correct option
Q4.
How can you get the value of a specific header from the request?
Direction: Choose the correct option
Q5.
What is the purpose of res.status()?
