Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Proposal: Sequential execution of multiple HTTPie requests via STDIN

Đang mở
#1,683 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api, cli

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ả

enhancement new

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của httpie/cli

Tất cả issue của httpie/cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.