Question 8/17
intermediate
Select one answer

What is the difference between app.get() and app.use()?

They are the same
app.get() handles only GET requests to exact path, app.use() handles all methods and matches path prefix
app.use() is deprecated
app.get() is for middleware only

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.