Proposal: Sequential execution of multiple HTTPie requests via STDIN
还没有人认领这个 Issue。
评估
调研方向
未指定文件或测试。先查看 HTTPie 现有的 CLI 模式和请求执行入口,然后明确 stdin 请求格式和顺序执行行为。完成标准是:三个示例请求通过一次调用按顺序各执行一次,不进行重复、调度、并发或批处理。
由索引模型根据 Issue 内容生成。
描述
Checklist
- I've searched for similar feature requests.
Enhancement request
I’d like to propose an opt-in way to execute multiple HTTPie request definitions sequentially via STDIN, one request at a time, using a single HTTPie invocation.
This would allow users to pipe a stream of complete request definitions into HTTPie and have them executed in order, without introducing repetition, scheduling, concurrency, or automation workflows.
Problem it solves
I’m often debugging or exploring APIs that require multiple dependent steps, such as:
- authenticate → fetch resource → submit data
- create entity → verify → update → delete
Today, this requires chaining multiple http commands in shell scripts, which quickly becomes hard to read, reuse, or share.
I’m trying to define and execute a clear, human-readable sequence of HTTP requests so that multi-step API interactions can be explored and debugged more easily, without turning HTTPie into a load-testing or workflow tool.
Additional information, screenshots, or code examples
Example usage (illustrative)
cat requests.http | http --sequence
Where requests.http contains:
GET https://httpbin.org/get
POST https://httpbin.org/post name=alice
GET https://httpbin.org/headers
Notes on scope (explicit non-goals)
This proposal does NOT aim to support:
- request repetition or looping
- delays, timers, or scheduling
- concurrency or batching
- load testing or benchmarking
Each request would be executed once, strictly in order, with normal HTTPie output.
If this direction aligns with HTTPie’s scope, I’d be happy to work on an implementation and tests following existing CLI patterns.
- 主要语言
- Python
- 星标
- 38.6k
- 派生
- 4k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
httpie/cli 的其他 Issue
-
new
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
bug new
难度 4/5 3-5 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
agent-ready documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
-
documentation
难度 1/5 1 小时以内 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
instance instance add
难度 1/5 1 小时以内 新手友好度 72/100
searxng/searx-instances#939 · 1 条评论 ·
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100