[Feature] Context.req.autoBody() helper #2331
vanodevium
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be very convenient to have such a method, which will simply be a wrapper over json() and parseBody() and, depending on the header Content-Type, will automatically call the correct method.
Of course, I can write it myself in the code, but the helper is about ease of use.
Beta Was this translation helpful? Give feedback.
All reactions