We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e3ae3 commit 948bbd9Copy full SHA for 948bbd9
1 file changed
paystackapi/base.py
@@ -55,7 +55,7 @@ def _request(self, method, resource_uri, **kwargs):
55
"""
56
data = kwargs.get('data')
57
response = method(self.API_BASE_URL + resource_uri,
58
- data=data, headers=self.headers)
+ json=data, headers=self.headers)
59
response.raise_for_status()
60
return response.json()
61
0 commit comments