<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\API\AuthAPIController; use App\Http\Controllers\API\PageAPIController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider and all of them will | be assigned to the "api" middleware group. Make something great! | */ //check if session is active Route::get("/v1/status", [AuthAPIController::class, 'status']); Route::put("/v1/page/write", [PageAPIController::class, 'write']);