diff --git a/src/portalmng.py b/src/portalmng.py index 2c40b43d6ba22907af936e288a6d93592fc96fd6..f2ae75e4da0dd94c440d0594cf5fd00442c5f38b 100644 --- a/src/portalmng.py +++ b/src/portalmng.py @@ -76,7 +76,7 @@ class arcgis(object): } uri = "https://%s:7443/arcgis/portaladmin/createNewSite" % self.hostname - + print(uri) try: response = requests.post( uri, @@ -90,6 +90,8 @@ class arcgis(object): if err is not None: print("Some error happended when create the new site: \n %s \n"%(err)) return False + else: + print("Response : %s" % (response.text)) except Exception as e: print("Error when post the requrest with reason :%s"%e) timeout = True