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

Improve JSON button #417

Open
arildm opened this issue Dec 13, 2024 · 0 comments
Open

Improve JSON button #417

arildm opened this issue Dec 13, 2024 · 0 comments

Comments

@arildm
Copy link
Member

arildm commented Dec 13, 2024

The current JSON button reflects a root-scope variable that is modified when switching between result tabs. When a request is made, the url is stored (prevUrl) so that the corresponding tab can then copy it to the root-scope variable (jsonUrl).

There are some drawbacks to this:

  • Result tab controllers must have enter/exit handlers
  • Requests with many large parameters will use POST instead of GET, and then the url is not enough to reproduce the request

I think we should use the full request conf instead (or just url+params), and output the button in each tab rather than outside them.

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

1 participant