Skip to content

Commit

Permalink
Update setup_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresCode authored Sep 24, 2024
1 parent 549637c commit db82077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sites/setup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def add_jobs(self):
}

print(f"Data List to send: {json.dumps(self.data_list)}")
requests.request("POST", "https://api.laurentiumarian.ro/add", headers=post_header, data=json.dumps(self.data_list))
requests.request("POST", "https://api.laurentiumarian.ro/jobs/add/", headers=post_header, data=json.dumps(self.data_list))
print("ADD JOB REQUEST STATUS: ")
print(requests.request("POST", "https://api.laurentiumarian.ro/add", headers=post_header, data=json.dumps(self.data_list)))
print(requests.request("POST", "https://api.laurentiumarian.ro/jobs/add/", headers=post_header, data=json.dumps(self.data_list)))
time.sleep(5)

0 comments on commit db82077

Please sign in to comment.