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

Add option to indent REST responses #2520

Closed
4 tasks
fedekunze opened this issue Oct 17, 2018 · 1 comment
Closed
4 tasks

Add option to indent REST responses #2520

fedekunze opened this issue Oct 17, 2018 · 1 comment

Comments

@fedekunze
Copy link
Collaborator

fedekunze commented Oct 17, 2018

Summary

Use utils.PostProcessResponse(w, cdc, response, indent) to indent responses on all endpoints

Problem Definition

Some endpoints are missing utils.PostProcessResponse(w, cdc, response, indent) which gives the option to indent the JSON response for clients.

Proposal

Use it on all the LCD endpoints


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@alexanderbez
Copy link
Contributor

Closing this issue as it seems dead -- please reopen if need be or it hasn't been addressed.

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

No branches or pull requests

2 participants