You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most time we need to set both header/status and content, i spend much time to findout how to set a json response with content-type header -- use the "with()", please document it out.
most time we need to set both header/status and content, i spend much time to findout how to set a json response with content-type header -- use the "with()", please document it out.
the real sample should has the json content here.
PS. now we has the json shortcut. But i still need to set bot status code(500) and error reason text.
The text was updated successfully, but these errors were encountered: