diff --git a/CHANGES b/CHANGES index 179ce03..595df02 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +1.21.6 +_______ +- Fix sending data in the body of the request + 1.21.5 _______ - Add url and scanned_url to url analyses history filters diff --git a/intezer_sdk/__init__.py b/intezer_sdk/__init__.py index 97e3f85..b93f5dc 100644 --- a/intezer_sdk/__init__.py +++ b/intezer_sdk/__init__.py @@ -1 +1 @@ -__version__ = '1.21.5' +__version__ = '1.21.6' diff --git a/intezer_sdk/api.py b/intezer_sdk/api.py index c269a30..af769a8 100644 --- a/intezer_sdk/api.py +++ b/intezer_sdk/api.py @@ -121,7 +121,7 @@ def _request(self, stream=stream, timeout=timeout_in_seconds or self.timeout_in_seconds ) - elif isinstance(data, bytes): + elif isinstance(data, (bytes, str)): response = self._session.request( method, url,