diff options
| author | phalt | 2014-12-04 11:20:33 +0000 |
|---|---|---|
| committer | phalt | 2014-12-04 11:20:33 +0000 |
| commit | fcbae5d99f93a28c9aac340bf2d4d2a3930e1a6a (patch) | |
| tree | 44cfa63038a2a814de96d65d3f31e480173ae7c0 /docs/tutorial/quickstart.md | |
| parent | a17d5d2b0bff535dc1d7dcbd36947648e7a0511f (diff) | |
| download | django-rest-framework-fcbae5d99f93a28c9aac340bf2d4d2a3930e1a6a.tar.bz2 | |
updates based on suggestions
Diffstat (limited to 'docs/tutorial/quickstart.md')
| -rw-r--r-- | docs/tutorial/quickstart.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 41e864cc..43220ce8 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -24,10 +24,6 @@ Create a new Django project named `tutorial`, then start a new app called `quick django-admin.py startapp quickstart cd .. -Optionally, install [httpie][httpie] for tastier HTTP requests: - - pip install httpie - Now sync your database for the first time: python manage.py migrate @@ -163,9 +159,12 @@ We can now access our API, both from the command-line, using tools like `curl`.. ] } -Or with [httpie][httpie], a tastier version of `curl`... +Or using the [httpie][httpie], command line tool... + + bash: http -a username:password http://127.0.0.1:8000/users/ - bash: http -a username:password http://127.0.0.1:8000/users/ --body + HTTP/1.1 200 OK + ... { "count": 2, "next": null, |
