req - HTTP Clientreq is a command line HTTP client, like curl, httpie and many others. Why another one? This is probably the
most succinct, while still intuitive, client you'll find. Let's see if you agree:
```bash
localhost:5000/. We assume localhost if the hostname is a bare port.req :5000 ```
Let's send some JSON.
```bash req :5000/auth/login --json email=test@example.com password=123
content-type, sets accept, sets method to POST, and interprets the rest of the arguments``
You can also use--form` which behaves similarly.
Here's a GET request:
```bash
req :5000/search q='this is a multi-word query string' ```
Need authentication headers? These all work:
bash
req --bearer <token>
req -u <user>:<pass> # --user also works
req --token <token>
We keep the -O flag from curl for saving files.
bash
cargo install --git https://github.com/kurtbuilds/req
Need a feature or have a bug report? Open an issue or a PR.