diff --git a/icfprequests.py b/icfprequests.py index 1057768..c950033 100644 --- a/icfprequests.py +++ b/icfprequests.py @@ -13,7 +13,7 @@ def select( id, problem): "id": id, "problemName": problem } - response = requests.post(selectUrl, json=json.dumps(selectJson)) + response = requests.post(selectUrl, json=selectJson) return response.json() def explore( id, plans): @@ -21,7 +21,7 @@ def explore( id, plans): "id": id, "plans": plans } - response = requests.post(exploreUrl, json=json.dumps(exploreJson)) + response = requests.post(exploreUrl, json=exploreJson) return response.json()