private string BuildUrl(string uri, object uriParams)
        {
            if (uri.Contains("?"))
            {
                throw new NotSupportedException("Custom url paramters not supported yet.");
            }

            uri = this.Endpoint.TrimEnd('/') + "/" + uri.Trim('/');

            var parameters = UriHelpers.GetQueryString(uriParams);

            return(string.IsNullOrWhiteSpace(parameters) ? uri : $"{uri}?{parameters}");
        }