diff --git a/client-python/pycti/api/opencti_api_client.py b/client-python/pycti/api/opencti_api_client.py index 38c84ca2ee6c..9a8ce4a3ce66 100644 --- a/client-python/pycti/api/opencti_api_client.py +++ b/client-python/pycti/api/opencti_api_client.py @@ -249,7 +249,7 @@ def __init__( # Define API self.api_token = token - self.api_url = url + "/graphql" + self.api_url = url.rstrip("/") + "/graphql" if provider is not None: provider_pattern_checker = re.compile( r"^[A-Za-z]+\/\d+(?:\.[a-z]*\d+){0,}$" diff --git a/client-python/requirements.txt b/client-python/requirements.txt index 81e1ab1d1e80..9466d80af7f7 100644 --- a/client-python/requirements.txt +++ b/client-python/requirements.txt @@ -8,7 +8,7 @@ python_json_logger~=4.0.0 PyYAML~=6.0 pyjwt[crypto]~=2.12.0 pydantic>=2.8.2, <3 -requests>=2.32.0, <3 +requests~=2.33.0 setuptools~=82.0.0 cachetools~=7.0.1 prometheus-client~=0.24.1