def METHOD_NAME(api_url_template, gitlab_repo, url_params={}, query_params={}):
    """
    Takes a URL template that takes `owner` and `repo` template variables
    and as a GitLab repo object.  Do a GET for the provided URL and return
    the response payload, if successful.  If unsuccessfuly raise an error.
    """
    fqdn, path = gitlab_api_url(api_url_template, gitlab_repo, url_params, query_params)
    kwargs = get_common_kwargs(gitlab_repo)
    util.debug.add_to_log({
        "type": "debug",
        "error": 'sending gitlab request to {0}, path={1}, '
                 'kwargs: {2}'.format(fqdn, path, kwargs)
    })
    response = interwebs.get(fqdn, path=path, **kwargs)
    validate_response(response)
    return response.payload