[Vuejs]-Pass array from vue.js to laravel controller, Error The GET method is not supported for this route. Supported methods: POST

0๐Ÿ‘

You are mixing absolute and relative URLs.

change from:

var url ='make/create';

to:

var url ='/make/create';

0๐Ÿ‘

just pass route name instead passing url :

var url ='make/create';

become:

var url ='{{route("create.store")}}';

0๐Ÿ‘

I already found the problem was an error of mine I did not know how to use axios the code I leave it for future reference is 100% functional thanks to the people who helped me.

Leave a comment