Hacker News new | ask | show | jobs
Generate Curl Command from Headers (github.com)
8 points by genzer 1729 days ago
2 comments

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.
And then combine it with `--libcurl program.c`!