jsdelivr / globalping-cli

A simple CLI tool to run networking commands remotely from hundreds of globally distributed servers
Mozilla Public License 2.0
129 stars 14 forks source link

Add custom HTTP headers support #44

Closed jimaek closed 1 year ago

didil commented 1 year ago

@jimaek is this something we can start working on ? using the curl format for example ?

jimaek commented 1 year ago

-X or --header "Key: value" something like this?

MartinKolarik commented 1 year ago

--header, -H (same as curl)

didil commented 1 year ago

yes I think in curl it's -H or --header https://stackoverflow.com/questions/356705/how-to-send-a-header-using-a-http-request-through-a-curl-call#answer-356714