diff --git a/dataLogger.py b/dataLogger.py index edc2a08..e92275d 100644 --- a/dataLogger.py +++ b/dataLogger.py @@ -216,7 +216,7 @@ def readGaugeOffData(): print("Could not get all gauge off tags: {}".format(e)) return False - post_req = requests.post(API_BASE_URL + "/gauge_off_vals", data=json.dumps(gaugeOffData), headers={'Content-Type': 'application/json'}, verify=False) + post_req = requests.post(API_BASE_URL + "/gauge_off", data=json.dumps(gaugeOffData), headers={'Content-Type': 'application/json'}, verify=False) try: post_res_id = json.loads(post_req.text)['_id'] return True