def METHOD_NAME():
  parser = argparse.ArgumentParser()
  parser.add_argument('url', help='URL of the host model')
  parser.add_argument('client_id', help='The client id used to setup IAP')
  parser.add_argument('--input', help='The input file.')
  args = parser.parse_args()
  token, signer_email = get_service_account_token(args.client_id)
  if args.input:
    with open(args.input) as f:
      data = f.read()
    resp = requests.post(
        args.url,
        verify=False,
        data=data,
        headers={'Authorization': 'Bearer {}'.format(token)})
  else:
    resp = requests.get(
        args.url,
        verify=False,
        headers={'Authorization': 'Bearer {}'.format(token)})
  if resp.status_code == 403:
    raise Exception(
        'Service account {} does not have permission to '
        'access the IAP-protected application.'.format(signer_email))
  elif resp.status_code != 200:
    raise Exception('Bad response from application: {!r} / {!r} / {!r}'.format(
        resp.status_code, resp.headers, resp.text))
  else:
    print(resp.text)