githack icon indicating copy to clipboard operation
githack copied to clipboard

Request: custom request headers as argument

Open vzamanillo opened this issue 4 years ago • 1 comments

Some websites use WAF for protection, in that cases it is possible that we need some additional headers (Host, Cookie.. etc) to avoid 403 errors.

As a proposal, a new command line argument should be enough, with JSON format or whatever to easily transform it to a dict and pass it to the request.

vzamanillo avatar Apr 17 '20 12:04 vzamanillo

good idea, I'll look at it (maybe take times, quite busy these days). also, feel free to send pr.

OwenChia avatar Jun 01 '20 08:06 OwenChia