Skip to content

Commit

Permalink
Merge pull request #2 from aydinfatih/main
Browse files Browse the repository at this point in the history
Added default header
  • Loading branch information
aydinfatih authored Feb 17, 2024
2 parents d3cc01c + 0a2dee0 commit 1db9396
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ final class Factory
*
* @var array<string, string>
*/
private array $headers = [];
private array $headers = [
'Content-Type' => 'application/json',
];

/**
* The query parameters for the requests.
Expand Down

0 comments on commit 1db9396

Please sign in to comment.