aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorTom Christie2013-03-29 06:42:24 -0700
committerTom Christie2013-03-29 06:42:24 -0700
commita69262a1cd03667416d94080101f735039aa084f (patch)
tree40e849db9b542fd6743437b323610819e43c7b2b /docs/api-guide/authentication.md
parentff3ebd979dab9a358a4708ea1de0fd8ebf121157 (diff)
parentfa61b2b2f10bf07e3cb87ca947ce7f0ca51a2ede (diff)
downloaddjango-rest-framework-a69262a1cd03667416d94080101f735039aa084f.tar.bz2
Merge pull request #767 from tomchristie/fix-oauth2-token-only
Fix OAuth 2 token only
Diffstat (limited to 'docs/api-guide/authentication.md')
-rw-r--r--docs/api-guide/authentication.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md
index 541c6575..f1dd6f5f 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -294,7 +294,7 @@ The only thing needed to make the `OAuth2Authentication` class work is to insert
The command line to test the authentication looks like:
- curl -H "Authorization: Bearer <your-access-token>" http://localhost:8000/api/?client_id=YOUR_CLIENT_ID\&client_secret=YOUR_CLIENT_SECRET
+ curl -H "Authorization: Bearer <your-access-token>" http://localhost:8000/api/
---