liran
4 months ago
1236
15
Laravel

Laravel 7 breaks JSON responses

Posted 4 months ago by liran

I used to be able to just return an array in a controller function and Laravel would automatically convert it to JSON when a request came through Ajax. But after upgrading to Laravel 7, it seems that's no longer the case. Did that get removed from the framework?

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