[LeBonCoinBridge] Submit user agent to LBC to get results.

This commit is contained in:
Lyra 2019-08-26 14:22:58 +02:00
parent acc0787b00
commit a86a94555d

View file

@ -356,6 +356,7 @@ class LeBonCoinBridge extends BridgeAbstract {
$data = $this->buildRequestJson(); $data = $this->buildRequestJson();
$header = array( $header = array(
'User-Agent: LBC;Android;Null;Null;Null;Null;Null;Null;Null;Null',
'Content-Type: application/json', 'Content-Type: application/json',
'Content-Length: ' . strlen($data), 'Content-Length: ' . strlen($data),
'api_key: ' . self::$LBC_API_KEY 'api_key: ' . self::$LBC_API_KEY