jonnybarnes.uk/routes/api.php

20 lines
574 B
PHP
Raw Normal View History

2016-09-06 16:40:39 +01:00
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
2016-09-06 16:40:39 +01:00
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
2023-02-18 09:34:57 +00:00
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "api" middleware group. Make something great!
2016-09-06 16:40:39 +01:00
|
*/
2023-02-18 09:34:57 +00:00
/*Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
2016-09-06 16:40:39 +01:00
return $request->user();
});*/