From 1a7b7f04786f6ecc9a5af3701259a172ab233a41 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 20 Jan 2021 22:53:04 -0800 Subject: [PATCH] tests working but not yet check for correctness --- server-api/client-tests/web/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-api/client-tests/web/http.py b/server-api/client-tests/web/http.py index 7db1d78..b61aaf7 100644 --- a/server-api/client-tests/web/http.py +++ b/server-api/client-tests/web/http.py @@ -81,7 +81,7 @@ class Request: resp = requests.get(self.url, data=params) return Response(self.url, resp.text, resp.status_code, hope) elif method == 'post': - resp = requests.post(self.url, data=self) + resp = requests.post(self.url, data=params) return Response(self.url, resp.text, resp.status_code, hope) elif method == 'delete': resp = requests.delete(self.url, data=params)