import requests
from pprint import pprint
auth1 =('eyJhbGciOiJIUzUxMiIsImlhdCI6MTYxNzMwOTExMiwiZXhwIjoxNjE3MzEyNzEyfQ.eyJpZCI6MX0.OFH43Nsf9gZs1PIxwLcqaJw2vJH94oknvfqa0dVKmtlmDnH78YI14oVyMe2pOduxYCPZ1_NCEAfOJfJLypslAw','')
data1 = {
  "hostname": "ar13.BLB",
  "scheduled_time": 0
}
data2 = {'id': '345'}
# response = requests.post("http://10.91.114.235:5000/api/v2/install/commit", json = data1, auth = auth1)
response = requests.get("http://10.91.114.235:5000/api/v2/install?id=346", auth = auth1)
pprint(response.json())