Laravel APIREST doesn't work

Hello, I uploaded my Laravel app to fly.io and the index works correctly, I only use Laravel as an apirest, I have the database hosted in another service and locally the apis work correctly, but when I upload my project and enter a api the website tells me error 500.

How can I enable APIs in fly.io?

https://noticias-back-deploy.fly.dev/ --work
https://noticias-back-deploy.fly.dev/api/getNoticias --doesn’t work (Public api)

Can you share us what your logs tells when your trigger this error ?

fly logs on your term or Monitoring in your dashboard.

I left the link in the post, it says error 500 nothing more

Hi @nico11garcia

Our proxy doesn’t send 500 error codes so that tells me it might be some config missing on your app.

Try to run fly logs -a noticias-backend-deploy then open the page that doesn’t work to try to spot any error logs.