Vanilla Laravel 7 for MotorradIG as motorradig2 project
This commit is contained in:
parent
e5c726a0ea
commit
7b9f21e683
87 changed files with 19702 additions and 1 deletions
19
motorradig2/routes/api.php
Normal file
19
motorradig2/routes/api.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| API Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register API routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| is assigned the "api" middleware group. Enjoy building your API!
|
||||
|
|
||||
*/
|
||||
|
||||
Route::middleware('auth:api')->get('/user', function (Request $request) {
|
||||
return $request->user();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue