Skip to content

Commit

Permalink
Merge pull request #19 from Ecomailcz/add-missing-content-type
Browse files Browse the repository at this point in the history
add missing content-type
  • Loading branch information
Tlapi authored Feb 20, 2020
2 parents 4a9dc7e + 8293a92 commit eea4c56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Ecomail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eea4c56

Please sign in to comment.