Created
January 22, 2018 22:45
-
-
Save dancaps/d3a2e70ccae1ac6e62b9a1ad69197bf2 to your computer and use it in GitHub Desktop.
Why is this not working?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
cc_api_url = 'https://api.cloudcheckr.com/api/account.json/add_account_v3' | |
headers = {'Content-Type': 'application/json'} | |
params = {'account_name': 'test_account', 'access_key': 'my_admin_api_key'} | |
r = requests.post(cc_api_url, headers=headers, params=params) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment