Compare commits

..

2 Commits

Author SHA1 Message Date
Jean-Baptiste Nahan
6732622355 change useragent 2024-11-13 11:44:43 +01:00
Jean-Baptiste Nahan
c705dce0c0 change useragent 2024-11-13 11:43:58 +01:00

View File

@@ -146,7 +146,7 @@ retry:
var_dump(curl_setopt($ch, CURLOPT_HTTPHEADER, ['Accept: text/plain','X-custom-header: top1','Authorization: Bearer '.$token]));
}
curl_setopt($ch, CURLOPT_USERAGENT, 'test');
curl_setopt($ch, CURLOPT_USERAGENT, 'PHP-SDK-BINARY-TOOLS');
//curl_setopt($ch, CURLOPT_USERAGENT, Config::getSdkUserAgentName());
echo "curl_error=". curl_error($ch) ."\n";