Fixed a bug causing calls to fail for APIs with query auth and no parameters
This commit is contained in:
@@ -65,6 +65,9 @@ class HttpClient {
|
|||||||
|
|
||||||
private static function execRequest($httpMethod, $url, $parameters, $authHandlers) {
|
private static function execRequest($httpMethod, $url, $parameters, $authHandlers) {
|
||||||
$data = null;
|
$data = null;
|
||||||
|
if ($parameters == null) {
|
||||||
|
$parameters = array();
|
||||||
|
}
|
||||||
|
|
||||||
$headers = array();
|
$headers = array();
|
||||||
$headers[] = UrlUtils::generateClientHeaders();
|
$headers[] = UrlUtils::generateClientHeaders();
|
||||||
|
|||||||
Reference in New Issue
Block a user