// routes/web.php
Route::get('/logout', ['middleware' => 'doNotCacheResponse', 'uses' => 'AuthController@getLogout']);
Route::post('/logout', ['middleware' => 'doNotCacheResponse', 'uses' => 'AuthController@doLogout']);нанять человека для выполнения задачи.
// /routes/web.php
Route::get('/', function(){ ResponseCache::forget('/'); return view('welcome'); }If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so.
xhr.withCredentials = true; Других вариантов как это сделать нет?
Route::prefix('/event',function(){
Route::resource('event-type-1','Type1EventController');
Route::resource('event-type-2','Type2EventController');
});
Полнностью переписать используя js на фронте (https://laravel.com/docs/10.x/vite) $keysData = json_decode($keysJson, flags: JSON_THROW_ON_ERROR | JSON_OBJECT_AS_ARRAY); Это тут причем?
<form ... method="post"> - вполне "законно" указать @method('delete') .ЕМНИП хелпер route() будет разделять слешом роут и параметр,ну так легко проверить же.
Route::delete('/test{id}',function(int $id){var_dump($id);})->name('test');# php artisan tinker
route('test',['id'=>1])
// = "https://localhost/test1" // читать как работает хелпер route, посмотреть какой урл он выдает у вас сейчас, плакать,