Amélioration de la recherche par adresse #10
1 changed files with 6 additions and 0 deletions
|
@ -71,8 +71,14 @@ def query_axione(cfg, body):
|
|||
timeout=120,
|
||||
)
|
||||
conn.request("POST", "/v3/fai", body, headers=headers)
|
||||
print("")
|
||||
print("[+] REQUEST")
|
||||
print(body)
|
||||
response = conn.getresponse()
|
||||
respData = response.read()
|
||||
print("")
|
||||
print("[+] RESPONSE")
|
||||
print(respData)
|
||||
except Exception as e:
|
||||
print("Error while querying Axione: ", file=sys.stderr)
|
||||
print(str(e), file=sys.stderr)
|
||||
|
|
Loading…
Reference in a new issue