diff --git a/src/openforms/registrations/contrib/json/plugin.py b/src/openforms/registrations/contrib/json/plugin.py index d0b2cd43f7..f4344a657d 100644 --- a/src/openforms/registrations/contrib/json/plugin.py +++ b/src/openforms/registrations/contrib/json/plugin.py @@ -56,8 +56,11 @@ def register_submission(self, submission: Submission, options: OptionsT) -> None service = options["service"] # TODO-4098: is the service type relevant here? with build_client(service) as client: - url = f"{client.base_url}{options['relative_api_endpoint']}" - response = client.post(url, json=json, headers={"Content-Type": "application/json"}) + response = client.post( + options["relative_api_endpoint"], + json=json, + headers={"Content-Type": "application/json"}, + ) response.raise_for_status() print(response.json())