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 display API calls made by CLI #546

Open
1 of 4 tasks
taspelund opened this issue Feb 1, 2024 · 0 comments
Open
1 of 4 tasks

Add option to display API calls made by CLI #546

taspelund opened this issue Feb 1, 2024 · 0 comments
Labels
feature Issue for a new feature that does not break current functionality

Comments

@taspelund
Copy link
Contributor

Target component

  • CLI
  • SDK
  • Something else
  • Not sure

Overview

Optionally output the raw HTTPS for the API call triggered by the command being run, e.g. by supplying an extra flag.

This would allow for easier debugging of issues triggered via CLI (no need to consult server logs) and can be used to streamline users' development of API tooling (use this flag on a CLI command to do XYZ, get a working example of an HTTPS request).

The vision here is something similar to the -v or --trace options of curl, which could display URL, filepath, headers, content, etc. in a functional/readable format. Maybe it could be two different options for dumping human-readable headers vs json that could be immediately edited/re-used.

Implementation details

No response

Anything else you would like to add?

No response

@taspelund taspelund added the feature Issue for a new feature that does not break current functionality label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue for a new feature that does not break current functionality
Projects
None yet
Development

No branches or pull requests

1 participant