From a86a94555d70f75ab48d413cd755cc69cdfa2002 Mon Sep 17 00:00:00 2001 From: Lyra Date: Mon, 26 Aug 2019 14:22:58 +0200 Subject: [PATCH] [LeBonCoinBridge] Submit user agent to LBC to get results. --- bridges/LeBonCoinBridge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bridges/LeBonCoinBridge.php b/bridges/LeBonCoinBridge.php index 36196cb1..519fc917 100644 --- a/bridges/LeBonCoinBridge.php +++ b/bridges/LeBonCoinBridge.php @@ -356,6 +356,7 @@ class LeBonCoinBridge extends BridgeAbstract { $data = $this->buildRequestJson(); $header = array( + 'User-Agent: LBC;Android;Null;Null;Null;Null;Null;Null;Null;Null', 'Content-Type: application/json', 'Content-Length: ' . strlen($data), 'api_key: ' . self::$LBC_API_KEY