- DATE:
- AUTHOR:
- The Duffel team
API
Flights Offer Request endpoints now support HTTP streaming
DATE:
AUTHOR:
The Duffel team
We're pleased to announce HTTP streaming support for the POST /air/offer_request
and GET /air/batch_offer_requests
Flights endpoints.
This allows you to receive and process data incrementally as it becomes available rather than waiting for the complete response.
Enabling this feature requires zero API changes - simply configure your HTTP client to handle streaming responses. For maximum efficiency, we recommend implementing incremental data processing in your application logic, which can significantly reduce latency and improve user experience by working with partial results as they arrive.