Skip to content
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

There is no description of req:render() function #113

Closed
savinov opened this issue Apr 8, 2020 · 0 comments · Fixed by #120
Closed

There is no description of req:render() function #113

savinov opened this issue Apr 8, 2020 · 0 comments · Fixed by #120

Comments

@savinov
Copy link

savinov commented Apr 8, 2020

Plaease add some description of req:render() function and example how to return responce with JSON body:
local resp = req:render({json = {field1=value1, field2=value2}})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant