2024-02-29 18:09:17 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
2024-05-06 21:37:26 +02:00
|
|
|
use App\Http\Controllers\RouteController;
|
2024-02-29 18:09:17 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider and all of them will
|
|
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2024-05-06 21:37:26 +02:00
|
|
|
//routing needs a bit more nuance, so requests are sent to a controller to sort traffic
|
|
|
|
Route::get("/{first?}/{second?}/{third?}/{four?}", [RouteController::class, 'get']);
|
|
|
|
Route::post("/{first?}/{second?}/{third?}", [RouteController::class, 'post']);
|