diff --git a/axione_api/api.py b/axione_api/api.py index 496a422..5370f73 100644 --- a/axione_api/api.py +++ b/axione_api/api.py @@ -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)