Commit 515060a6 by phalt

Only show pip install for httpie

parent 34b5db62
...@@ -332,16 +332,12 @@ Quit out of the shell... ...@@ -332,16 +332,12 @@ Quit out of the shell...
In another terminal window, we can test the server. In another terminal window, we can test the server.
We could use `curl`, but let's use a nicer tool called [httpie][httpie] to test our server. It has much nicer formatting and makes our output easier to read. This is especially useful when testing. We can test our API using using `curl` or [httpie][httpie]. Httpie is a user friendly http client that's written in Python. Let's install that.
You can install httpie on all operating systems using pip: You can install httpie on all operating systems using pip:
pip install httpie pip install httpie
It can also be installed through [Homebrew][brew] on Mac:
brew install httpie
Finally, we can get a list of all of the snippets: Finally, we can get a list of all of the snippets:
http http://127.0.0.1:8000/snippets/ --body http http://127.0.0.1:8000/snippets/ --body
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment