-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
May I response a json? #7
Comments
@libook |
what is the purpose of this? you can just have your error handle json stringify the error however you'd like |
Well, http-assert just respond to client when there was an 'false'. |
I'm sorry, I don't understand what the ask even is here, after reading this. All this module does is throw an |
I can use http-assert in this way:
But in many times, I want to response a json like this:
This does not work probably.
So will you support this method?
The text was updated successfully, but these errors were encountered: