Show More
@@ -38,7 +38,7 b' class API(object):' | |||||
38 | def _req(self, verb, path, body=None, params=None): |
|
38 | def _req(self, verb, path, body=None, params=None): | |
39 | response = requests.request(verb, |
|
39 | response = requests.request(verb, | |
40 | url_path_join(self.base_url, 'api/contents', path), |
|
40 | url_path_join(self.base_url, 'api/contents', path), | |
41 | data=body, |
|
41 | data=body, params=params, | |
42 | ) |
|
42 | ) | |
43 | response.raise_for_status() |
|
43 | response.raise_for_status() | |
44 | return response |
|
44 | return response |
General Comments 0
You need to be logged in to leave comments.
Login now