Convert HTTP headers to curl command-line arguments
Headers 2 curl
h2c
$ h2c < headers.txt
$ curl -i https://example.com 2>&1 | h2c
$ h2c 'Authorization: Bearer token123' 'Content-Type: application/json'