HTTP/2 SupportEnable HTTP/2 protocol
Enable HTTP/2 protocol
with multiplexing
Use HTTP/2 protocol for faster, more efficient requests with multiplexing support. Reduce latency and improve throughput for modern APIs.
Enable HTTP/2 for all requests
http2.yaml
# CLI flag
curl-runner api.yaml --http2
# Environment variable
CURL_RUNNER_HTTP2=true curl-runner api.yaml
# YAML configuration (global)
global:
defaults:
http2: true
requests:
- name: Fast API Call
url: https://api.example.com/data
# YAML configuration (per-request)
requests:
- name: HTTP/2 Request
url: https://api.example.com/data
http2: trueKey Benefits
Why use HTTP/2 Support?
Multiplexing
Send multiple requests over a single connection simultaneously, reducing overhead and latency.
Header Compression
HTTP/2 compresses headers automatically, reducing bandwidth usage for repeated requests.
Better Performance
Take advantage of modern server infrastructure with improved connection efficiency.
Use Cases
Perfect for these scenarios
High-performance API testing
Testing HTTP/2 enabled servers
Reducing latency in parallel requests
Modern microservices communication
Ready to try HTTP/2 Support?
Get started with curl-runner and unlock powerful http/2 support capabilities for your API testing workflow.