Bad Request
Warning: stdin contents detected. Retry with --ignore-stdin option.
Additional information, screenshots, or code examples
I've found the final answer in #1017 and when using --debug option.
HTTPie should be able to detect if stdin contents come from a pipe or are for xargs or a bash loop.
In any case, displaying a warning when a request fails with stdin content could prevent users some headaches.
Checklist
Running environment
https://packages.httpie.io/deb
Minimal reproduction code and steps
Install the software:
The error occurred when interrogating Gandi Public API.
Set Gandi API Key:
Query Gandi API for all domains mailboxes:
Current result
The first loop output is:
Expected result
The expected result:
Additional information, screenshots, or code examples
I've found the final answer in #1017 and when using --debug option. HTTPie should be able to detect if stdin contents come from a pipe or are for xargs or a bash loop. In any case, displaying a warning when a request fails with stdin content could prevent users some headaches.