Sitze und Rechtsformen aus Zefix API

This commit is contained in:
schrom01 2023-08-21 20:53:53 +02:00
parent 1352b1f33a
commit ca8e9ab474
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,6 @@ curl_close($ch);
function sendAPICommunityRequest(string $username, string $password): string|bool function sendAPICommunityRequest(string $username, string $password): string|bool
{ {
echo $username;
echo $password;
// API endpoint // API endpoint
$apiUrl = 'https://www.zefix.admin.ch/ZefixPublicREST/api/v1/community'; $apiUrl = 'https://www.zefix.admin.ch/ZefixPublicREST/api/v1/community';
@ -82,6 +80,7 @@ function sendAPICommunityRequest(string $username, string $password): string|boo
// Close cURL // Close cURL
curl_close($ch); curl_close($ch);
echo $response;
return $response; return $response;
} }