import requests


def get_request(url: str, headers: dict, path: str)->dict:
    """
    Perform an HTTP GET request
    :param url: the url to request
    :param headers: a dict containing the ZT Auth header
    :param path: the path at the url to request
    :return: a dict representing the returned JSON object.

    raises a requests.exceptions.HTTPError when th response is not 200

    """
    _url = url + path
    r = requests.get(_url, headers=headers)
    r.raise_for_status()
    return r.json()