4.1.rar — Deprored
# 2. Poll for completion while True: status = requests.get(f"BASE_URL/status/job_id", headers=headers).json() if status["state"] == "completed": break
BASE_URL = "http://localhost:8080/v1" headers = "Authorization": "Bearer <API_TOKEN>" DeproRED 4.1.rar
# 1. Upload archive with open("evidence_bundle.rar", "rb") as f: resp = requests.post(f"BASE_URL/extract", files="file": f, headers=headers) job_id = resp.json()["job_id"] "rb") as f: resp = requests.post(f"BASE_URL/extract"