File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 62
62
There is also an example using sqlite, see 'configure settings'.
63
63
64
64
65
+ ## Get API Key
66
+ We need to register API Tester as an App / Consumer of the API we are testing.
67
+
68
+ When the Consumer / App is created on the API, ** the redirect URL MUST point to this host** , e.g. ` http://localhost:8084 `
69
+
70
+ Make sure you don't add a trailing slash to the redirect URL etc.
71
+
72
+
73
+
74
+
65
75
## Configure settings
66
76
67
77
Create and edit ` apitester/apitester/local_settings.py ` :
68
78
79
+
80
+
81
+
69
82
### Postgres Example
70
83
71
84
``` python
@@ -75,8 +88,8 @@ SECRET_KEY = '<random string>'
75
88
API_HOST = ' <hostname>'
76
89
77
90
# Consumer key + secret to authenticate the _app_ against the API
78
- # When the app is created on the API, the redirect URL should point to this
79
- # host + /obp, e.g. `http://localhost:8000`
91
+
92
+
80
93
OAUTH_CONSUMER_KEY = ' <key>'
81
94
OAUTH_CONSUMER_SECRET = ' <secret>'
82
95
You can’t perform that action at this time.
0 commit comments