diff --git a/sites/setup_api.py b/sites/setup_api.py index 587706f..c1250a3 100644 --- a/sites/setup_api.py +++ b/sites/setup_api.py @@ -51,4 +51,5 @@ def add_jobs(self): print(f"Data List to send: {json.dumps(self.data_list)}") print(f"This is the post headers: {post_header}") requests.request("POST", "https://api.peviitor.ro/v5/add/", headers=post_header, data=json.dumps(self.data_list)) + time.sleep(5)