Q. Which method sets a route in Express?

A
app.route()
B
app.get()
C
app.set()
D
app.use()
Solution:

app.get() sets a GET route in Express.

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!