From d40eaf651885e9a24aa6bc35b1971fa9e2c6343d Mon Sep 17 00:00:00 2001 From: asrorbekh Date: Mon, 15 Jan 2024 13:23:20 +0500 Subject: [PATCH] Add accept header to HttpClient --- src/Http/HttpClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Http/HttpClient.php b/src/Http/HttpClient.php index b2685bc..29d7e0c 100644 --- a/src/Http/HttpClient.php +++ b/src/Http/HttpClient.php @@ -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", ];