Fetch 200 Ok status after running Curl Command and using that status write a condition using python in RUNDECK
问题 Below is the CURL command which gives the status running in RUNDECK url = "curl -kv https://vn2-lpgdmt-capp99.rno.vzon.com:8990/health/check" My Code is as follows: payload={} Headers={ i have defined here } response = requests.request("GET", url, headers=headers, data = payload,verify=False) status = response.status_code print(status) response_val = response.json() response_val = json.dumps(response_val) if status != 200 : print('********Error in Response***********') print('Status :'+ str