private string BuildUrl(string path, string serviceBundle)
{
if (serviceBundle != null)
{
if (serviceBundle == "") {
return BaseURL + Prefix + path;
} else {
return BaseURL + Prefix + serviceBundle + "/" + path;
}
} else
{
return BaseURL + Prefix + DefaultServiceBundle + "/" + path;
}
}