httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
32.67k stars 3.68k forks source link

Feature/config default headers #1570

Open yuvalg99 opened 3 months ago

yuvalg99 commented 3 months ago

Hi, I Added an option for using default headers for any request made by httpie using the config.json file. Also, I Added documentation to the official docs.

I think it could help when you want all your requests to have specific headers without explicitly adding them in the cli, for example - specific User-Agent.