diff --git a/src/Ecomail.php b/src/Ecomail.php index ca7b980..1445216 100644 --- a/src/Ecomail.php +++ b/src/Ecomail.php @@ -420,7 +420,8 @@ private function send($request, $data = NULL, $method = NULL) } curl_setopt($ch, CURLOPT_HTTPHEADER, array( - 'key: ' . $this->key + 'key: ' . $this->key, + 'Content-Type: application/json' )); $output = curl_exec($ch);