def get_crumb(module, cookies):
    (resp, info) = fetch_url(module, (module.params['url'] + '/crumbIssuer/api/json'), method='GET', cookies=cookies)
    if (info['status'] != 200):
        module.fail_json(msg=((('HTTP error ' + str(info['status'])) + ' ') + info['msg']), output='')
    content = to_native(resp.read())
    return json.loads(content)
14070f8c548d8089b28ce8038b9d89a2f0a83e02
<mask token>

def get_crumb(module, cookies):
    resp, info = fetch_url(module, module.params['url'] +
        '/crumbIssuer/api/json', method='GET', cookies=cookies)
    if info['status'] != 200:
        module.fail_json(msg='HTTP error ' + str(info['status']) + ' ' +
            info['msg'], output='')
    content = to_native(resp.read())
    return json.loads(content)

def get_crumb(module, cookies):
    (resp, info) = fetch_url(module, (module.params['url'] + '/crumbIssuer/api/json'), method='GET', cookies=cookies)
    if (info['status'] != 200):
        module.fail_json(msg=((('HTTP error ' + str(info['status'])) + ' ') + info['msg']), output='')
    content = to_native(resp.read())
    return json.loads(content)