On September 16, 2020 . By CodimTh Category: Web Vue.js Problem: laravel vuejs/axios put request Formdata not working. Solution: change axios.put() to axios.post() add "_method" property with the value "PUT" to the formData object like this: formData.append("_method", "post"); https://laravel.com/docs/8.x/routing#form-method-spoofing Tags : Vue.js Vue.js Tutoriels Tips Vue.js Previous PostHow to get year and month from date_iso8601 for computed field in drupal 8Next PostMigration fields with timezones in Laravel Comments Add new comment Your name Subject Comment About text formats Restricted HTML Leave this field blank
Comments