def METHOD_NAME(verb, url, request_input={}, accept='text/json', contentType=None,
               output={}, expireTime=0, secure=False, secureParam={}):
    data, code, content_type, response = makeRequest(url, request_input, verb,
                                                     accept, contentType,
                                                     secure, secureParam)
    data = decodeBytesToUnicodeConditional(data, condition=PY3)
    keyMap = {'code': code, 'data': data, 'type': content_type, 'response': response}
    for key, value in viewitems(output):
        msg = 'Got a return %s != %s (got %s, type %s) (expected %s, type %s)' \
              % (keyMap[key], value, keyMap[key], type(keyMap[key]), value, type(value))
        assert keyMap[key] == value, msg
    expires = response.getheader('Expires')
    if expireTime != 0:
        timeStamp = make_rfc_timestamp(expireTime)
        assert expires == timeStamp, \
            'Expires header incorrect (%s) != (%s)' % (expires, timeStamp)
    return data, expires