fixed indentations

This commit is contained in:
phalt 2014-12-08 15:41:01 +00:00
parent fcbae5d99f
commit 8e9408115d
2 changed files with 6 additions and 4 deletions

View File

@ -340,9 +340,11 @@ You can install httpie using pip:
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/
[
HTTP/1.1 200 OK
...
[
{
"id": 1,
"title": "",
@ -367,7 +369,7 @@ Or we can get a particular snippet by referencing its id:
HTTP/1.1 200 OK
...
{
{
"id": 2,
"title": "",
"code": "print \"hello, world\"\n",

View File

@ -127,7 +127,7 @@ Go ahead and test the API from the command line, as we did in [tutorial part 1][
We can get a list of all of the snippets, as before.
http http://127.0.0.1:8000/snippets/
http http://127.0.0.1:8000/snippets/
HTTP/1.1 200 OK
...