Implement adding networks

This commit is contained in:
2022-08-01 23:02:35 +01:00
parent fa53e11ff0
commit c7e5ac5aac
15 changed files with 225 additions and 37 deletions

View File

@@ -71,7 +71,6 @@ def threshold_request(url, data, method="POST", esc=False):
else:
logger.error("Invalid method specified")
method = requests.get
print("SENDING TO", url)
r = method(
f"{settings.THRESHOLD_ENDPOINT}/{url}/", data=dumps(data), headers=headers