You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Slackbot token is an API key that needs to be protected.
177
-
178
-
Include your Slackbot token in your code in an intentional way, following best practices about API keys in code bases.
176
+
Our Slackbot token is an API key that needs to be protected. Include your Slackbot token in your code in an intentional way, following best practices about API keys in code bases.
179
177
180
178
### Requirement: Use Python package `requests` to make HTTP calls
181
179
182
-
Remember to import this package
183
-
184
-
Consider using the keyword argument `data`, `json`, and/or `headers`
180
+
Remember to import the `requests` package. Consider using the keyword argument `data`, `json`, and/or `headers`.
185
181
186
182
#### Tips
187
-
- Remember to put your Slackbot token in your code in an intentional way, following best practices about API keys in code bases.
188
183
- In order to get the value of an environment variable, use `os.environ.get()`, just as we used it for the database configuration.
189
184
- Use your work from the Slack API documentation, the Slack tester, and Postman to guide your implementation.
0 commit comments