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
#!/usr/bin/env python | |
import os, requests, json, re | |
## requirements.txt: | |
# | |
# httplib2==0.8 | |
# requests==2.0.1 | |
# wsgiref==0.1.2 | |
# hard coded |
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
#!/usr/bin/env python | |
import requests | |
# quiet warnings for self-signed certificates | |
requests.packages.urllib3.disable_warnings() | |
base_url = "https://server.demo.com/ccm" | |
auth_uri = "/authenticated/identity" |