diff options
| author | Tom Christie | 2013-03-29 06:42:24 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-03-29 06:42:24 -0700 |
| commit | a69262a1cd03667416d94080101f735039aa084f (patch) | |
| tree | 40e849db9b542fd6743437b323610819e43c7b2b /docs/api-guide/authentication.md | |
| parent | ff3ebd979dab9a358a4708ea1de0fd8ebf121157 (diff) | |
| parent | fa61b2b2f10bf07e3cb87ca947ce7f0ca51a2ede (diff) | |
| download | django-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.md | 2 |
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/ --- |
