New in 2.4: Test runs you can trust See what's new →

Response streaming

Response streaming: Server-Sent Events, NDJSON, transfer chunked, tetesan byte, dan array JSON yang di-stream. Buffering response dimatikan dan setiap event langsung dikirim, jadi klien melihat data begitu dibuat. Setiap stream berhenti begitu klien memutus koneksi.

Contoh request

Drip bytes slowly over a duration. Referensi lengkap dan tombol Send (dalam bahasa Inggris).

cURL
curl -X GET "https://api.testingapis.com/api/stream/drip?durationMs=500&bytes=5"
Jalankan di Studio
Response · 200 OK
<binary body: 5 bytes, application/octet-stream>