Laravel Vue Axios – Axios DELETE Request becomes GET Request

I’m getting a particular error and can’t understand where the problem is. No more explanations, code will illustrate it better than me : Here are my routes : Route::get(‘/’, ‘HomeController@index’)->name(‘home’); Route::delete(‘home/{home}’, ‘HomeController@destroy’)->name(‘home.destroy’); Here is my homeController : class HomeController extends Controller { public function index() { return view(‘view’); } public function destroy() { dd(‘Hello World’);…

Redirect output of Laravel installer

When I create a new project using the Laravel installer, the output always goes to my terminal, even when I redirect STDOUT and/or STDERR to a file. For example: $ .composer/vendor/bin/laravel new test > ~/installer.out Crafting application… Loading composer repositories with package information … And: $ .composer/vendor/bin/laravel new test 2> ~/installer.out Crafting application… Loading composer…