Skip to content

Commit

Permalink
Merge pull request #72 from pascalbaljet/master
Browse files Browse the repository at this point in the history
Added Content-Type header
  • Loading branch information
barryvdh authored Dec 14, 2019
2 parents 167df00 + eb4dfcb commit cec171d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Message/Request/AbstractMollieRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ protected function sendRequest($method, $endpoint, array $data = null)

$headers = [
'Accept' => "application/json",
'Content-Type' => "application/json",
'Authorization' => 'Bearer ' . $this->getApiKey(),
'User-Agent' => implode(' ', $versions),
];
Expand Down

0 comments on commit cec171d

Please sign in to comment.