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