From 28661a198a8ac5585a72d8ee35b67f338f4dd649 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Mon, 21 Aug 2023 20:51:05 +0200 Subject: [PATCH] Sitze und Rechtsformen aus Zefix API --- api/zefixAPI.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/zefixAPI.php b/api/zefixAPI.php index 6f5a06b..4bf6300 100644 --- a/api/zefixAPI.php +++ b/api/zefixAPI.php @@ -84,8 +84,10 @@ function sendAPICommunityRequest(string $username, string $password): string|boo } function communityCSV(string $username, string $password): string { - echo "TEST"; $response = sendAPICommunityRequest($username, $password); + echo "TEST"; + echo $response; + echo "TEST3"; $communityArray = json_decode($response, true); $csvOutput = 'bfsId,Kanton,Gemeindename,registryOfCommerceId\n'; // Create CSV rows