How can I exclusively return just the status? #2631
-
How can I achieve the equivalent of Express's |
Beta Was this translation helpful? Give feedback.
Answered by
NicoPlyley
May 8, 2024
Replies: 1 comment
-
I don't believe there is a way like express has. I assume express is just setting the body to plain text. To achieve the same result you can do the following: return c.text('', 200); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ilshm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't believe there is a way like express has. I assume express is just setting the body to plain text. To achieve the same result you can do the following: