Raja Muhammad Asher
Raja Muhammad Asher

Raja Muhammad Asher

Which are the arguments available to an Express JS route handler function?

Photo by Joan Gamell on Unsplash

Which are the arguments available to an Express JS route handler function?

Raja Muhammad Asher's photo
Raja Muhammad Asher
·Jul 7, 2022·

1 min read

Express.js route handler function takes three arguments (usually named: req, res, next), that will contain the HTTP Request object, HTTP response, and the next function in the middleware chain.

Source:

Express Tutorial Part 4∷ Routes and Controllers - Learn Web Development | MDN. 13 Sept. 2022, developer.mozilla.org/en-US/docs/Learn/Serv...

 
Share this