grav-plugin-api icon indicating copy to clipboard operation
grav-plugin-api copied to clipboard

fix: override Slim default error handlers

Open Regaez opened this issue 4 years ago • 0 comments

By default, Slim returns HTML pages for various error states. We should override these so that the API will be consistent and always return a JSON structure.

Regaez avatar Jun 14 '20 09:06 Regaez