We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4229300 + e3410bd commit 96d0fdcCopy full SHA for 96d0fdc
docs/rest-framework/getting_started.rst
@@ -126,7 +126,7 @@ At this point we're ready to request an access_token. Open your shell
126
127
::
128
129
- curl -X POST -d "grant_type=password&username=<user_name>&password=<password>" http://<client_id>:<client_secret>@localhost:8000/o/token/
+ curl -X POST -d "grant_type=password&username=<user_name>&password=<password>" -u'<client_id>:<client_secret>' http://localhost:8000/o/token/
130
131
The *user_name* and *password* are the credential on any user registered in your :term:`Authorization Server`, like any user created in Step 2.
132
Response should be something like:
0 commit comments