Route issue

Posted 3 years ago by cipsas


when I try to make post request, somehow it goes to index method instead post method. When I check: php artisan route:list

POST                           | api/pages                        |   

I try to make post request with vue-resource:

var resource = this.$resource('/api/pages/:id');{page:} , function (data, status, request) {});

and try to test with chrome app POSTMAN, and get the same result.

Any ideas what could be wrong?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.