Post auch für zweiten api befehl eingesetzt.
This commit is contained in:
@@ -325,7 +325,7 @@ class Ladestation_Universal extends IPSModule
|
||||
}elseif($this->ReadPropertyInteger("Ladestation")==3){
|
||||
$url = $baseUrl . "0";
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
|
||||
curl_setopt($ch, CURLOPT_POST, true);
|
||||
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
|
||||
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
|
||||
Reference in New Issue
Block a user