7 ms·
> There seems to be lack of a single word in English to describe this except the long phrase above. Anyone has good suggestion? If you mean the request and res
by jkbr 3y ago
> There seems to be lack of a single word in English to describe this except the long phrase above. Anyone has good suggestion?
If you mean the request and response message pair, we call it "exchange" [0].
> It goes without saying that this is a hard requirement I have for any API client but sadly most ones I tried always lack some information somewhere.
Both HTTPie Desktop and HTTPie CLI allow you to see the entire exchange. In the CLI, you can use the --verbose flag [0]. In the desktop app, there’s a “Request” tab.
They both also support previewing the request without sending it. The CLI has --offline [1], and the Desktop has a live preview feature [2].
[0] https://httpie.io/docs/cli/what-parts-of-the-http-exchange-should-be-printed https://httpie.io/docs/cli/what-parts-of-the-http-exchange-s...
[1] https://httpie.io/docs/cli/offline-mode https://httpie.io/docs/cli/offline-mode
[2] https://raw.githubusercontent.com/httpie/desktop/master/.github/httpie-desktop.png https://raw.githubusercontent.com/httpie/desktop/master/.git...
- paradite 3y agoThanks for the response. Does the client (desktop app) support exporting the full exchange as txt? I would switch to HTTPie Desktop if this is supported.
- jkbr 3y agoWe show the request/response in two separate panes, each with a menu offering Copy and Download actions. So it’s possible; it’s just a matter of multiple clicks. The desktop app also allows you to copy a corresponding HTTPie CLI command, which you can then enrich with --verbose, run in the terminal, and more easily copy the whole exchange output.
- paradite 3y agoThanks. So it is the same amount of steps as I have for Chrome now. Please do consider adding a feature to export everything in one shot. It would save people like me a lot of clicks (for a lot of APIs across different environments).
- jkbr 3y agoIt’s a good idea — we’ll look into making it as simple as in HTTPie CLI. Thanks for the feedback.