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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
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://www.google.com:443"
>
> 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 -".
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://www.google.com:443"
>
> 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 -".
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ----------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2020-12-03