Proposal: Sequential execution of multiple HTTPie requests via STDIN
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Không có tệp hoặc test nào được nêu tên. Hãy bắt đầu bằng cách xem xét các mẫu CLI hiện có của HTTPie và các điểm vào để thực thi request, sau đó làm rõ định dạng request từ stdin và hành vi thực thi tuần tự. Được xem là hoàn tất khi ba request ví dụ chạy đúng một lần theo thứ tự trong một invocation duy nhất, không lặp lại, lập lịch, đồng thời hay theo lô.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 38.6k
- Fork
- 4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của httpie/cli
-
new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug new
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
argparser.py: HTTPieArgumentParser has high cyclomatic complexity and mixed responsibilities Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stephrobert/dsoxlab#238 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sublimehq/package_control#1780 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nwg-piotr/nwg-displays#145 ·