From dc32871838ca63f538e7fe518af42e73c75a93ac Mon Sep 17 00:00:00 2001 From: Stephen Leitnick Date: Mon, 9 Dec 2024 19:05:53 -0500 Subject: [PATCH] JSON --- run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.py b/run_tests.py index 43251b90..de101194 100644 --- a/run_tests.py +++ b/run_tests.py @@ -27,7 +27,7 @@ def run_tests(): "x-api-key": os.getenv("API_KEY"), } - res = requests.post(endpoint, data=data, headers=headers) + res = requests.post(endpoint, data=json.dumps(data), headers=headers) res_json = res.json() print(res_json)