httpie / http-prompt

An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
https://http-prompt.com
MIT License
8.96k stars 326 forks source link

Preview request? #193

Open jenstroeger opened 3 years ago

jenstroeger commented 3 years ago

While the env command is somewhat useful it would be nice to preview a request before sending it… perhaps a show or dump or req command would be helpful?

spex66 commented 3 years ago

https://docs.http-prompt.com/en/latest/user-guide.html#quickstart Search for "To preview how HTTP Prompt is going to call HTTPie, do:"

Most simple one is to type httpie which shows the http commandline it will create and run. That's the preview you are looking for?

jenstroeger commented 3 years ago

@spex66… well, not quite. That’s the preview of the httpie command but it’d be nice to see a preview of the actual request itself. That may be difficult though, considering that http-prompt delegates the request generation to httpie or curl 🤔