private string getUrl(string endpoint) { return protocol + "://" + host + ":" + port + "/" + baseUrl + "/" + endpoint; }