Answers for "return redirect laravel with request"

PHP
2

laravel response redirect

#Method 1 with route name
return redirect()->route('login');

#Method 2 back with input
return back()->withInput();

#Method 2 using a url
return redirect('/home/dashboard');
Posted by: Guest on August-25-2021
1

laravel web php request to redirect to another page

Route::get('/{any}', function () {
    return redirect('https://questa.uz');
})->where('any', '.*');
Posted by: Guest on December-20-2021

Code answers related to "return redirect laravel with request"

Browse Popular Code Answers by Language