... | ... | @@ -26,7 +26,7 @@ Still, we shouldn't distribute valid credentials, so create a file called _confi |
|
|
|
|
|
In vim type \`:e config.py\` - it will create a new empty buffer to wok with.
|
|
|
|
|
|
```
|
|
|
```plaintext
|
|
|
DB2_HOST=
|
|
|
DB2_USER=
|
|
|
DB2_PASS=
|
... | ... | @@ -96,4 +96,14 @@ Save, and press **F5** in vim, just in case. |
|
|
|
|
|
## Good things to those who wait.
|
|
|
|
|
|
Let's test if that works, switch to your browser, and head into the docs endpoint... |
|
|
\ No newline at end of file |
|
|
Let's test if that works, switch to your browser, and head into the docs endpoint...
|
|
|
|
|
|
Seems our endpoint has appeared at least
|
|
|
|
|
|
![image](uploads/b8bccf8c57e94b05ecb5df2b2e52a784/image.png)
|
|
|
|
|
|
And clicking Execute, the database response!\
|
|
|
\
|
|
|
![image](uploads/c3834e661b6cd8d736ad1e28f9cfe297/image.png)
|
|
|
|
|
|
Awesome, now our service is talking with our database. |
|
|
\ No newline at end of file |