Poke the Rancher API. Returns a Rod object instance. Central starting
    point for the cattleprod package.
    :param url: The full Rancher URL to the API endpoint.
    :param accesskey: The rancher access key, optional.
    :param secretkey: The rancher secret key, optional.
    :param __method__: Internal method, don't use!
    :param req_args: Arguments which are passed directly to the requests API.
    The accesskey / secretkey values have precedence before simple auth
    objects defined in here.
    :return: A Rod instance, or anything that the URL returns on a GET request

def poke(url, accesskey=None, secretkey=None, __method__='GET', **req_args):
    """
    Poke the Rancher API. Returns a Rod object instance. Central starting
    point for the cattleprod package.
    :param url: The full Rancher URL to the API endpoint.
    :param accesskey: The rancher access key, optional.
    :param secretkey: The rancher secret key, optional.
    :param __method__: Internal method, don't use!
    :param req_args: Arguments which are passed directly to the requests API.
    The accesskey / secretkey values have precedence before simple auth
    objects defined in here.
    :return: A Rod instance, or anything that the URL returns on a GET request
    """
    if accesskey and secretkey:
        req_args['auth'] = (accesskey, secretkey)
    tmp = requests.request(__method__.lower(), url, **req_args)
    tmp.raise_for_status()
    if tmp.headers.get('Content-Type').find("json") != -1:
        rv = _convert_to_rod(tmp.json(), **req_args)
    else:
        rv = tmp.content
    return rv