Skip to content

How can I exclusively return just the status? #2631

Answered by NicoPlyley
ilshm asked this question in Q&A
Discussion options

You must be logged in to vote

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);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ilshm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants