Skip to content

Commit

Permalink
Add accept header to HttpClient
Browse files Browse the repository at this point in the history
  • Loading branch information
asrorbekh committed Jan 15, 2024
1 parent 77501d0 commit d40eaf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function sendRequest(?string $url = null, array|object|null $data = null,

$headers = [
"Content-Type: application/json",
"Accept: application/json",
"User-Agent: $ua",
];

Expand Down

0 comments on commit d40eaf6

Please sign in to comment.