Quiz on Routing and Middleware

Test yourself on routing and middleware.

1

In the application code given below, which URL must we visit for the string “Join our community?”

'use strict'
const Route = use('Route')
Route.get('/', () => 'Welcome!')
Route.get('/about', () => 'Know more about us')
Route.get('/join', () => 'Join our community')
A)

<Application_URL>/

B)

<Application_URL>/hello

C)

<Application_URL>/about

D)

<Application_URL>/join

Question 1 of 40 attempted

Get hands-on with 1400+ tech skills courses.