string proxy = "";
string login = "";
string password = "";
string url = "http://mobi-backend.mblz.24pbx.ru/api/referals";
string text = string.Join(":", new[]{login, password});
string auth = string.Join(" ",new[]{"Authorization:", "Basic", System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(text))});
string json = ZennoPoster.HttpGet(url,
proxy,
respType: ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.BodyOnly,
AdditionalHeaders: new[]{auth}
);
project.Json.FromString(json);