From 2e9240ef55cd0ad1695b74809c7ef81d94b2953a Mon Sep 17 00:00:00 2001 From: Kin Date: Mon, 15 Feb 2016 23:23:29 -0800 Subject: [PATCH] fixes typos and added a little help for httpie --- docs/tutorial/quickstart.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 910eb4cff..ebd59737d 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -130,7 +130,7 @@ Okay, we're done. We're now ready to test the API we've built. Let's fire up the server from the command line. - python ./manage.py runserver + python manage.py runserver We can now access our API, both from the command-line, using tools like `curl`... @@ -157,7 +157,8 @@ We can now access our API, both from the command-line, using tools like `curl`.. Or using the [httpie][httpie], command line tool... - bash: http -a username:password123 http://127.0.0.1:8000/users/ + bash: pip install httpie # if you have not installed it yet + bash: http -a admin:password123 http://127.0.0.1:8000/users/ HTTP/1.1 200 OK ... @@ -182,7 +183,7 @@ Or using the [httpie][httpie], command line tool... } -Or directly through the browser... +Or directly through the browser, by going to http://127.0.0.1:8000/users/ ![Quick start image][image]