[Vuejs]-How to access laravel api from vuejs frontend?

-1👍

Laravel apis have default middleware to establish security. Make sure you send tokens. In my opinion, test it in postman first.

If you have a 404 error , this link can help you

Sometimes it is possible that there is a problem with the route cache, so it is better to delete the route cache and create it again

php artisan route:clear 
php artisan route:cache 

Leave a comment