tomnomnom / gron

Make JSON greppable!
MIT License
13.83k stars 327 forks source link

[suggestion] Support HTTP Headers #79

Open pglezen opened 3 years ago

pglezen commented 3 years ago

It would help if I could add an HTTP header value to the gron command so that I could specify an API key. As it is, I use curl and pipe its output into gron; that works.

I'm thinking of being able to run

gron -H "x-api-key: some-secret-api-key" https://my.protected.service.com
adamritter commented 1 year ago

I added this feature to https://github.com/adamritter/fastgron