# Kodumaro HTTP CLI Kodumaro HTTP CLI inspired by [HTTPie][]. ## Project status It’s still a kinda-usable work in progress. ## Installation ```sh cargo +nightly install kodumaro-http-cli ``` ## Usage ``` Usage: http Commands: connect performs a CONNECT request delete performs a DELETE request get performs a GET request head performs a HEAD request option performs a OPTION request patch performs a PATCH request post performs a POST request put performs a PUT request trace performs a TRACE request help Print this message or the help of the given subcommand(s) Options: --raw allows you to pass raw request data without extra processing -o, --output save output to file instead of stdout [default: URL path file name] -d, --download do not print the response body to stdout; rather, download it and store it in a file -a, --auth basic authentication (user[:password]) or bearer token -F, --follow follows Location redirects --max-redirects when following redirects, max redirects [default: 30] --verify set to "no" to skip checking the host's SSL certificate [default: yes] --fail fail on error status code -v, --verbose Show headers ``` ### Environment variables - `HTTP_DOWNLOAD=true`: enable `--download` - `HTTP_AUTH=`: use `` as authentication (`--auth=`) - `HTTP_FOLLOW=true`: enable `--follow` - `HTTP_MAX_REDIRECTS=`: set max redirects to `` (`--max-redirects=`) - `HTTP_VERIFY=no`: disable SSL certificate verification (`--verify=no`) ## TODO - Support `multipart/form-data` - Support configuration file [HTTPie]: https://httpie.io/