how to check request type laravel code example
Example: laravel get data from request
dd($request->all());
//print an array of the input name and the input value
dd($request->all());
//print an array of the input name and the input value