File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,13 @@ Our Slackbot token is an API key that needs to be protected.
173173
174174Include your Slackbot token in your code in an intentional way, following best practices about API keys in code bases.
175175
176- #### Tips
176+ ### Requirement: Use Python package ` requests ` to make HTTP calls
177+
178+ Remember to import this package
177179
178- - Utilize the Python package ` requests ` !
179- - Remember to import this package
180- - Consider using the keyword argument ` data ` , ` json ` , and/or ` headers `
180+ Consider using the keyword argument ` data ` , ` json ` , and/or ` headers `
181+
182+ #### Tips
181183- Remember to put your Slackbot token in your code in an intentional way, following best practices about API keys in code bases.
182184- In order to get the value of an environment variable, use ` os.environ.get() ` , just as we used it for the database configuration.
183185- Use your work from the Slack API documentation, the Slack tester, and Postman to guide your implementation.
You can’t perform that action at this time.
0 commit comments