Direction: Choose the correct option
Q1.
What type of object is `req` in an HTTP server?
Direction: Choose the correct option
Q2.
Which method sets an HTTP header on the response?
Direction: Choose the correct option
Q3.
How do you send a JSON response?
Direction: Choose the correct option
Q4.
What is the purpose of `res.statusCode`?
Direction: Choose the correct option
Q5.
What does `res.write()` do?
