Sitze und Rechtsformen aus Zefix API
This commit is contained in:
+1
-2
@@ -49,8 +49,6 @@ curl_close($ch);
|
||||
|
||||
function sendAPICommunityRequest(string $username, string $password): string|bool
|
||||
{
|
||||
echo $username;
|
||||
echo $password;
|
||||
// API endpoint
|
||||
$apiUrl = 'https://www.zefix.admin.ch/ZefixPublicREST/api/v1/community';
|
||||
|
||||
@@ -82,6 +80,7 @@ function sendAPICommunityRequest(string $username, string $password): string|boo
|
||||
|
||||
// Close cURL
|
||||
curl_close($ch);
|
||||
echo $response;
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user