Quiz on Laravel Route Concepts
Test your knowledge of the basic concepts in the implementation of Laravel routes.
We'll cover the following...
We'll cover the following...
Laravel Routes Concepts
1.
What is the correct syntax for declaring a route with the GET
request type?
A.
Route::get('/test', function () { echo "Hello World"; });
B.
Route::('/test', function (method='get') { echo "Hello World"; });
C.
Route->get('/test', function () { echo "Hello World"; });
D.
Route::MethodGet('/test', function () { echo "Hello World"; });
1 / 5