Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

greevesh's avatar

Internal Server Error (500) with Postman on Laravel Forge REST API

I designed my own REST API and deployed it to Forge. When I search my Forge IP address, I can see the default Laravel front-end scaffolding.

Good.

However, I'll use Postman to GET the URL with this path: forge ip address/api/testdata and I get the error specified.

It worked locally by doing it this way. My path was as follows: local ip address/api/testdata.

I also used SSH to check my migration files to see if they were there on my Forge server and they were.

Is there any more config I need to do?

I mean, if it's not a 404 error I'm getting, it can't be the wrong path I'm using, can it?

0 likes
1 reply
Nakov's avatar

500 means server error, so try checking your server logs for more info.

Please or to participate in this conversation.