set flash message in ajax laravel 6 code example
Example: how to use flash message in laravel
Session::flash('message', 'This is a message!');
Session::flash('alert-class', 'alert-danger');
Session::flash('message', 'This is a message!');
Session::flash('alert-class', 'alert-danger');