Created
November 22, 2020 00:59
-
-
Save tomredman/8ad7d9c693b4397f3fb1d0604fdbce3e to your computer and use it in GitHub Desktop.
api-routes.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| Authentication | |
|-------------------------------------------------------------------------- | |
*/ | |
Route::post('/register', [UserController::class, 'register']); | |
Route::post('/login', [UserController::class, 'login']); | |
Route::post('/logout', [UserController::class, 'logout']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment