fix moved endpoint

the login endpoint moved from /login to /api/login
This commit is contained in:
2024-11-26 15:03:54 +00:00
parent a6d2f3d721
commit 9bb2ad42a0
+1 -1
View File
@@ -46,7 +46,7 @@ class DataScraper():
""" """
json_obj:dict = {"username":username,"password":password} json_obj:dict = {"username":username,"password":password}
response = requests.post(f"{self.base_url}/login",json=json_obj) response = requests.post(f"{self.base_url}/api/login",json=json_obj)
if(not response.ok): if(not response.ok):
print(f"response:{response}") print(f"response:{response}")