File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ application with OAuth2, in this tutorial we will see how to do it.
9
9
10
10
Make your API
11
11
-------------
12
- We start were we left the :doc: `part 1 of the tutorial <tutorial_01 >`: you have an authorization server and we want it
12
+ We start where we left the :doc: `part 1 of the tutorial <tutorial_01 >`: you have an authorization server and we want it
13
13
to provide an API to access some kind of resources. We don't need an actual resource, so we will simply expose an
14
14
endpoint protected with OAuth2: let's do it in a *class based view * fashion!
15
15
@@ -50,8 +50,8 @@ Testing your API
50
50
Time to make requests to your API.
51
51
52
52
For a quick test, try accessing your app at the url `/api/hello ` with your browser
53
- and verify that it reponds with a `403 ` (infact no `HTTP_AUTHORIZATION ` header was provided).
54
- You can test your API with anything can perform HTTP requests, but for this tutorial you can use the online
53
+ and verify that it reponds with a `403 ` (in fact no `HTTP_AUTHORIZATION ` header was provided).
54
+ You can test your API with anything that can perform HTTP requests, but for this tutorial you can use the online
55
55
`consumer client <http://django-oauth-toolkit.herokuapp.com/consumer/client >`_.
56
56
Just fill the form with the URL of the API endpoint (i.e. http://localhost:8000/api/hello if you're on localhost) and
57
57
the access token coming from the :doc: `part 1 of the tutorial <tutorial_01 >`. Going in the Django admin and get the
You can’t perform that action at this time.
0 commit comments