@staticmethod
def get_url_params(end_point):
    """
        Gets route parameters as dictionary
        :param end_point str target route
        :rtype: dict
        """
    var_params = end_point.split('/')
    if len(var_params) == 1 and var_params[0] == '':
        return []
    elif len(var_params) == 1 and var_params[0] != '':
        return [var_params[0]]
    else:
        params = list()
        for param in var_params:
            if len(param) > 0:
                params.append(param)
        return params
