diff --git a/pipedrive/client.py b/pipedrive/client.py index 4fd31a1..bdae46e 100644 --- a/pipedrive/client.py +++ b/pipedrive/client.py @@ -59,7 +59,7 @@ def parse_response(self, response): :return: """ if response.status_code == 204 or response.status_code == 201: - return True + return response.json() elif response.status_code == 400: raise Exception( "The URL {0} retrieved an {1} error. Please check your request body and try again.\nRaw message: {2}".format(