Radar

Always Render API Exceptions as JSON in Laravel - Laravel News

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.

Share LinkedIn X Bluesky WhatsApp E-mail

The board does not copy the article: it names the topic and sends you to its author.