HTTP v2

<?php

$client = new http\Client;
$request = new http\Client\Request;

$body = new http\Message\Body;
$body->addForm(NULL, NULL);

$request->setRequestUrl('http://blizzcmsv2.fixcore.fx/api/ApiAccount/user/5'); //this is my website url
$request->setRequestMethod('GET'); //method
$request->setBody($body);

$request->setHeaders(array(
  'authorization' => 'Basic MYCREDENTIAL', //this is my credential
  'x-api-key' => 'MYCODE@123' //this is my Api key
));

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();