Live data from Hacker News

Generate Curl Command from Headers

github.com

1–4 of 4 posts

Re: Generate Curl Command from Headers

#3
how is this different than "curl --header @header-file"?

the github example shows more than just header construction. a command line for the entire http request is reconstructed, which is cool, but a bit different than what the headline implies.

combined with a cheap wireguard vpn and you have a simple tool for fooling stingy websites.

Re: Generate Curl Command from Headers

#4

how is this different than "curl --header @header-file"? the github example shows more than just header construction. a command line for the entire http request is reconstructed, which is cool, but a bit different than what the headline implies. combined with a cheap wireguard vpn and you have a simple tool for fooling stingy websites.

Afaik with `--header` you can only pass extraneous headers, not the METHOD or URL.