Files
self/prover/test/request.py
turnoffthiscomputer a9c38f4e11 add test script
2024-06-25 11:52:39 +02:00

9 lines
289 B
Python

import requests
import json
with open("csca_inputs.json", "r") as file:
inputs = json.load(file)
response = requests.post("https://zk-passport--dsc-prover-generate-dsc-proof.modal.run", json=inputs , timeout=600)
with open("response.json", "w") as file:
file.write(response.text)