Sitze und Rechtsformen aus Zefix API
This commit is contained in:
parent
1352b1f33a
commit
ca8e9ab474
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue