laravel redirect api post with data code example Example: redirect to url with post data laravel return redirect()->route('home');