Forum Discussion
hooleylist
Jun 15, 2009Cirrostratus
That's very helpful. Thanks for posting the configuration. For future reference, here is the curl command used in the script:
send request & check for expected response
curl -fNs -L -c /tmp/cookies.txt -b /tmp/cookies.txt --connect-timeout 5 -d "destination=http://${IP}/owa/&flags=1&forcedownlevel=0&trusted=0&username=FOOUSER&password=FOOPASSWORD&isUtf8=1" http://${IP}:${PORT}${URI} | grep -i "${RECV}" 2>&1 > /dev/null
Aaron