|
$hostTypeJSON = $webservice->makeGetRequest($url, HttpRequestInterface::METHOD_GET, [], $credentials);
|
|
$hostTypeJSON = $webservice->makeGetRequest($url, HttpRequestInterface::METHOD_GET, [], $credentials);
|
|
$hostType = current(json_decode($hostTypeJSON, true))['id'];
|
|
$hostType = current(json_decode($hostTypeJSON, true))['id'];
|