3 ms·
on a related question: Do you know a CLI tool that would allow me to explore a Rest API interactively?
by elviejo 5y ago
on a related question: Do you know a CLI tool that would allow me to explore a Rest API interactively?
- theamk 5y agoFor session-based approach, using your favorite scripting language works pretty well. I use Python, so it would be IPython for CLI or Jupyter Notebook for web-based. If you want individual commands in your shell, then I generally use “curl ..| jq” plus a lot of history editing. A terminal which handles middle mouse button properly helps a lot. If endpoints are rate-limited or non-idempotent, then there is an occasional “| tee .. |” as well.