von get auf post gesetzt

This commit is contained in:
2024-12-19 13:44:37 +01:00
parent 2317d1333e
commit ff9d9b8909
2 changed files with 2 additions and 1 deletions

View File

@@ -410,6 +410,7 @@ class Ladestation_Universal extends IPSModule
IPS_LogMessage("Ladestation", "Aufgerufene ip" . $url2);
curl_setopt($ch, CURLOPT_URL, $url2);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
$response2 = curl_exec($ch);