+import requests
+
+
__author__ = "Basheeruddin Ahmed"
__copyright__ = "Copyright(c) 2014, Cisco Systems, Inc."
__license__ = "New-style BSD"
__email__ = "syedbahm@cisco.com"
-import requests
-
-
def get(url, userId, password):
"""Helps in making GET REST calls"""
headers = {}
resp = requests.post(url, data.encode(), headers=headers)
- # print (resp.raise_for_status())
+ # print(resp.raise_for_status())
print(resp.headers)
return resp