I have three APIs. When i do php artisan route:list
APIS are available there.
But only the third api is accessable from postman. can not access first two. they returns 404
My application is deployed in digital ocean using Nginx!
Solved it! /etc/nginx/sites-enabled/catch-all
was responsible for denying the request.
I had to configured it correctly!