<?php
$request = new HttpRequest();
$request->setUrl('http://blizzcmsv2.fixcore.fx/api/ApiAccount/user/5'); //this is my website url
$request->setMethod(HTTP_METH_GET); //method
$request->setHeaders(array(
'authorization' => 'Basic MYCREDENTIAL', //this is my credential
'x-api-key' => 'MYCODE@123', //this is my Api key
'content-type' => 'multipart/form-data; boundary=---011000010111000001101001'
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}