curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: send http/2 request which is saved in a text file

From: Daniel Stenberg via curl-users <>
Date: Thu, 3 Dec 2020 07:53:24 +0100 (CET)

On Thu, 3 Dec 2020, Ahmad Ismail via curl-users wrote:

> % cat raw-http.txt | encode-request | curl "telnet://"
> however I am not sure how to achieve this. any suggestions?

You need to write "encode-request" to convert it into a series of curl command
line options and make curl read them from stdin with "-K -".

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2020-12-03