File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ certain API, releasing the tokens and so on...
88
99Start your app
1010--------------
11- During this tutorial you will make an XHR POST using `CORS <http://en.wikipedia.org/wiki/Cross-origin_resource_sharing >`_
12- mechanism from an Heroku deployed app to your localhost instance. To achieve this operation you need a properly
13- configured Django server and `django-cors-headers ` app will help you with this.
11+ During this tutorial you will make and XHR POST from an Heroku deployed app to your localhost instance.
12+ To achieve this operation you need a properly configured Django server with `django-cors-headers ` app installed, since
13+ the domain that originated the request (the app on Heroku) is different from the destination domain (your local instance).
14+ Such "cross-domain" requests are by default forbidden by web browsers unless you use CORS.
15+ You can read more about `CORS here <http://en.wikipedia.org/wiki/Cross-origin_resource_sharing >`_.
1416
1517Create a virtualenv and install `django-oauth-toolkit ` and `django-cors-headers `:
1618
You can’t perform that action at this time.
0 commit comments