Merge branch 'feature/oauth' into develop
This commit is contained in:
@@ -132,17 +132,11 @@
|
|||||||
Developers of iOS or Android apps should contact me directly if
|
Developers of iOS or Android apps should contact me directly if
|
||||||
this doesn't work for them. I can add exceptions.</p>
|
this doesn't work for them. I can add exceptions.</p>
|
||||||
|
|
||||||
<p>The POST call must have content-type: <i>x-www-form-urlencoded</i>.
|
|
||||||
I set it this way to support the handy testing utility mentioned
|
|
||||||
belower. However,
|
|
||||||
I really would like to support <i>application/json</i> but with the
|
|
||||||
current framework I cannot support both at the same time. Expect
|
|
||||||
changes. Write to me if you want to be notified of changes.</p>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Authorization URL: <b>https://rowsandall.com/rowers/o/authorize</b></li>
|
<li>Authorization URL: <b>https://{{ request.get_host }}/rowers/o/authorize</b></li>
|
||||||
<li>Access Token request: <b>https://rowsandall.com/rowers/o/token/</b></li>
|
<li>Access Token request: <b>https://{{ request.get_host }}/rowers/o/token/</b></li>
|
||||||
<li>Access Token refresh: <b>https://rowsandall.com/rowers/o/token/</b></li>
|
<li>Access Token refresh: <b>https://{{ request.get_host }}/rowers/o/token/</b></li>
|
||||||
<li>Handy utility for testing: <b><a href="http://django-oauth-toolkit.herokuapp.com/consumer/">http://django-oauth-toolkit.herokuapp.com/consumer/</a></b></li>
|
<li>Handy utility for testing: <b><a href="http://django-oauth-toolkit.herokuapp.com/consumer/">http://django-oauth-toolkit.herokuapp.com/consumer/</a></b></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -169,7 +163,7 @@
|
|||||||
posted to:</p>
|
posted to:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>https://rowsandall.com/rowers/api/workouts/{id}/strokedata</b></li>
|
<li><b>https://{{ request.get_host }}/rowers/api/workouts/{id}/strokedata</b></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>The payload is application/json data and looks as follows:</p>
|
<p>The payload is application/json data and looks as follows:</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user