MINI MINI MANI MO
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use Illuminate\Routing\Middleware\ThrottleRequests;
/*
|--------------------------------------------------------------------------
| 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:sanctum')->get('/user', function (Request $request) {
return $request->user();
});
Route::get('validacionEvento', '\App\Http\Controllers\PlenoController@validacionEvento');
Route::get('validacionEvento/stream', '\App\Http\Controllers\PlenoController@validacionEventoStream')->withoutMiddleware(ThrottleRequests::class);
Route::post('validacionUser', '\App\Http\Controllers\PlenoController@validacionUser');
Route::post('asistenciaDip', '\App\Http\Controllers\PlenoController@asistenciaDip');
Route::post('votoDip', '\App\Http\Controllers\PlenoController@votoDip');
Route::post('asistenciaDipNom', '\App\Http\Controllers\PlenoController@asistenciaDipNom');
Route::post('votoDipNom', '\App\Http\Controllers\PlenoController@votoDipNom')
->withoutMiddleware('throttle:api');
OHA YOOOO