Hi everyone POST and GET methods are working on my application, but PATCH method don't. On my WAMP server everything works fine. On VPS server - don't. I get 405 Method not allowed.
I am using: Laravel 5.4, Vue.js 2.
Patch method:
axios.patch('/profile/' + this.profile.id + '/update', this.overview)
.then(resp => {
this.successDataSave(resp.data)
})
Route:
Route::patch('/profile/{profile}/update', 'AppController@update');
EDIT: PATCH method doesnt work only on axios, if I use patch route on html form, with {{ method_field('PATCH') }} it works.