What does the following do, res.send()?

5. What does the following do, res.send()?

  1. This method specifies what to execute when a get request at the specified route is made
  2. This function binds and waits for connections on the provided host and port
  3. This method accepts an object as input and returns it to the requesting client

Answer: C) This method accepts an object as input and returns it to the requesting client.

Explanation:

res.send(), this method accepts an object as an input and returns it to the requesting client.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.