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); IPS_LogMessage("Ladestation", "Aufgerufene ip" . $url2);
curl_setopt($ch, CURLOPT_URL, $url2); curl_setopt($ch, CURLOPT_URL, $url2);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password")); curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
$response2 = curl_exec($ch); $response2 = curl_exec($ch);

View File

@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.212", "version": "0.214",
"build": 0, "build": 0,
"date": 0 "date": 0
} }