diff options
| author | Brent O'Connor | 2014-12-17 14:38:01 -0600 | 
|---|---|---|
| committer | Brent O'Connor | 2014-12-17 14:38:01 -0600 | 
| commit | 4f33cfe1a00b410553ad9705354ada7ee8b52c01 (patch) | |
| tree | 3c38658272ad0c03d00d287c2568828919507693 /docs/tutorial/4-authentication-and-permissions.md | |
| parent | df29641f20c66ac3572d33d6bed23bd0fa3493a6 (diff) | |
| download | django-rest-framework-4f33cfe1a00b410553ad9705354ada7ee8b52c01.tar.bz2 | |
With httpie 0.8.0 the HTTP method has to come after the auth argument.
Diffstat (limited to 'docs/tutorial/4-authentication-and-permissions.md')
| -rw-r--r-- | docs/tutorial/4-authentication-and-permissions.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md index a6d27bf7..592c77e8 100644 --- a/docs/tutorial/4-authentication-and-permissions.md +++ b/docs/tutorial/4-authentication-and-permissions.md @@ -206,7 +206,7 @@ If we try to create a snippet without authenticating, we'll get an error:  We can make a successful request by including the username and password of one of the users we created earlier. -    http POST -a tom:password http://127.0.0.1:8000/snippets/ code="print 789" +    http -a tom:password POST http://127.0.0.1:8000/snippets/ code="print 789"      {          "id": 5, | 
