Q. What does res.status() do?

A
Sends a response
B
Sets the HTTP status code
C
Redirects a request
D
Mounts middleware
Solution:

res.status() sets the HTTP status code for the response.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!