Returning errors and 404s as plain text by default #275
Unanswered
binaryfire
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I've built a kv store using Framework X that will only be used by scripts. Currently when there's an error or 404, HTML error pages are returned. Is there a way of forcing all error responses to be returned as plain text? I want to avoid having to pass additional headers (eg. for content type) when calling the API to keep things as simple as possible when I use it in scripts.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions