1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00

Merge pull request #19 from faulkner/fix-readme

A few minor corrections to the README.
This commit is contained in:
Jakub Roztocil 2012-03-03 15:37:02 -08:00
commit 81568cf91c

View File

@ -1,6 +1,6 @@
## HTTPie: cURL for humans
HTTPie is a CLI frontend for [python-requests](http://python-requests.org) built out of frustration. It provides an `http` command that can be used to easily issue HTTP requests. It is meant to be used by humans to interact with HTTP-based APIs and web servers. The response headers are colorized and the body is syntax-highlighed if its `Content-Type` is known to [Pygments](http://pygments.org/) (unless the output is redirected).
HTTPie is a CLI frontend for [python-requests](http://python-requests.org) built out of frustration. It provides an `http` command that can be used to easily issue HTTP requests. It is meant to be used by humans to interact with HTTP-based APIs and web servers. The response headers are colorized and the body is syntax-highlighted if its `Content-Type` is known to [Pygments](http://pygments.org/) (unless the output is redirected).
![httpie](https://github.com/jkbr/httpie/raw/master/httpie.png)
@ -35,11 +35,10 @@ The data to be sent can also be passed via `stdin`:
Most of the flags mirror the arguments you would use with `requests.request`. See `http -h`:
usage: httpie.py [-h] [--json | --form] [--traceback] [--ugly]
[--headers | --body] [--style STYLE] [--auth AUTH]
[--verify VERIFY] [--proxy PROXY] [--allow-redirects]
[--file PATH] [--timeout TIMEOUT]
method URL [item [item ...]]
usage: http [-h] [--json | --form] [--traceback] [--ugly] [--headers | --body]
[--style STYLE] [--auth AUTH] [--verify VERIFY] [--proxy PROXY]
[--allow-redirects] [--file PATH] [--timeout TIMEOUT]
method URL [item [item ...]]
HTTPie - cURL for humans.