Remove redundant curl options

refs #10566
This commit is contained in:
Gunnar Beutner 2015-11-10 08:30:25 +01:00
parent 2cc33b7fb3
commit f332d8fde2

View File

@ -1526,8 +1526,6 @@ The following example uses **PHP** and its `curl` library:
CURLOPT_HTTPHEADER => $headers,
CURLOPT_USERPWD => $username . ":" . $password,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYHOST => 2,
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_CAINFO => "pki/icinga2-ca.crt",
CURLOPT_POST => count($data),
CURLOPT_POSTFIELDS => json_encode($data)