Skip to content

Commit b13308d

Browse files
authored
Merge pull request #35 from messagebird/header-accepts-bug
Bugfix: change Accepts header to Accept
2 parents 8e1a317 + 4ea1b19 commit b13308d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MessageBird/Common/HttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function performHttpRequest($method, $resourceName, $query = null, $body
130130

131131
$headers = array (
132132
'User-agent: ' . implode(' ', $this->userAgent),
133-
'Accepts: application/json',
133+
'Accept: application/json',
134134
'Content-Type: application/json',
135135
'Accept-Charset: utf-8',
136136
sprintf('Authorization: AccessKey %s', $this->Authentication->accessKey)

0 commit comments

Comments
 (0)