1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 07:17:55 +01:00

28 lines
705 B
PHP
Raw Normal View History

2021-07-30 18:38:43 +02:00
<?php
/** @noinspection UnusedFunctionResultInspection */
use App\Http\Controllers\Api\UserController;
2021-07-30 18:38:43 +02:00
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::apiResource('users', UserController::class);
/*
* Prossimamente, per le chiamate alla API autenticate:
*
* Route::middleware('auth:api')->group(function () {
2021-07-30 18:38:43 +02:00
});
*/