WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
routes
/
Name
Action
..
361712
api.php
Edit
channels.php
Edit
console.php
Edit
index.php
Edit
moduleroutes.php
Edit
pageroutes.php
Edit
web.php
Edit
Editing: api.php
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | 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(); });