tests working but not yet check for correctness

This commit is contained in:
shockrah 2021-01-20 22:53:04 -08:00
parent 00fccb72e5
commit 1a7b7f0478

View File

@ -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)