def post(uri, body=None): #body1 = json.dumps(body) ses = Login.login() url = "http://192.168.1.115:8088" + uri res = ses.post(url, json=body, verify=False) return res
def get(uri): ses = Login.login() url = dirConfig.host + uri res = ses.get(url, verify=False) return res
def post(uri, body=None): ses = Login.login() url = dirConfig.host + uri res = ses.post(url, json=body, verify=False) return res
def get(uri): ses = Login.login() url = "http://192.168.1.115:8088" + uri res = ses.get(url, verify=False) return res