Skip to content

Commit 26365f1

Browse files
committed
Add JSON content-type header
1 parent 9164230 commit 26365f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Informat/Call/CallProcessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public function send(
4646
$this->buildUrl($endpoint)
4747
)
4848
->withAddedHeader('Authorization', 'BEARER ' . $this->accessTokenManager->getAccessToken())
49-
->withAddedHeader('InstituteNo', (string)$instituteNumber);
49+
->withAddedHeader('InstituteNo', (string)$instituteNumber)
50+
->withAddedHeader('Content-Type', 'application/json');;
5051

5152
if ($content !== null) {
5253
if (is_array($content)) {

0 commit comments

Comments
 (0)