aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/4-authentication-and-permissions/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/4-authentication-and-permissions/index.html')
-rw-r--r--tutorial/4-authentication-and-permissions/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/4-authentication-and-permissions/index.html b/tutorial/4-authentication-and-permissions/index.html
index 7585afff..f4661bde 100644
--- a/tutorial/4-authentication-and-permissions/index.html
+++ b/tutorial/4-authentication-and-permissions/index.html
@@ -555,7 +555,7 @@ class IsOwnerOrReadOnly(permissions.BasePermission):
}
</code></pre>
<p>We can make a successful request by including the username and password of one of the users we created earlier.</p>
-<pre><code>http POST -a tom:password http://127.0.0.1:8000/snippets/ code="print 789"
+<pre><code>http -a tom:password POST http://127.0.0.1:8000/snippets/ code="print 789"
{
"id": 5,