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
33.56k stars 3.67k forks source link

wip implementation of --base-url argument #1377

Open vergenzt opened 2 years ago

vergenzt commented 2 years ago

Addresses httpie/httpie#838

Doesn't have tests yet, nor has anyone else weighed in on approach, naming, etc. But it's simple and is working well for me, so I figured I'd share in case others want to help out with the remaining boring bits! 😄

I'm using locally by uninstalling my default (Homebrew) httpie installation, and re-installing this version via:

$ pipx install git+https://github.com/vergenzt/httpie.git@issue-838-add-base-url
zachvalenta commented 1 year ago

Having a --base-url option would be great.

vergenzt commented 1 year ago

Rebased against the latest master ✅