osb/routes/api.php

21 lines
534 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<?php
use Illuminate\Http\Request;
2017-11-03 05:26:07 +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!
2017-11-03 05:26:07 +00:00
|
*/
/*
Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
2017-11-03 05:26:07 +00:00
});
*/