phpldapadmin/routes/api.php

26 lines
701 B
PHP
Raw Normal View History

2019-05-14 07:52:49 +00:00
<?php
use Illuminate\Http\Request;
2020-08-23 01:37:08 +00:00
use Illuminate\Support\Facades\Route;
2019-05-14 07:52:49 +00:00
/*
|--------------------------------------------------------------------------
| 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!
|
*/
2020-08-23 01:37:08 +00:00
/*
Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});
*/
Route::group([],function() {
Route::get('/bases','APIController@bases');
Route::get('/children','APIController@children');
});