Radar
Shared by Enguehard · 2 years ago
Laravel gives you a handy way to render all exceptions for API requests as JSON without any custom middleware. This bootstrap configuration tip makes it easy to ensure API exceptions render as JSON.
The board does not copy the article: it names the topic and sends you to its author.