no headers
This commit is contained in:
parent
d5993c02f3
commit
988bc831b2
@ -16,7 +16,7 @@ class Eokm extends Extension
|
|||||||
if($username && $password) {
|
if($username && $password) {
|
||||||
$ch = curl_init("https://api.eokmhashdb.nl/v1/check/md5");
|
$ch = curl_init("https://api.eokmhashdb.nl/v1/check/md5");
|
||||||
// curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/xml', $additionalHeaders));
|
// curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/xml', $additionalHeaders));
|
||||||
curl_setopt($ch, CURLOPT_HEADER, 1);
|
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||||
curl_setopt($ch, CURLOPT_USERPWD, $username . ":" . $password);
|
curl_setopt($ch, CURLOPT_USERPWD, $username . ":" . $password);
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
||||||
curl_setopt($ch, CURLOPT_POST, 1);
|
curl_setopt($ch, CURLOPT_POST, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user