I read the manual but could not make much out of it. I tried the below:
wget --save-cookies cookies.txt \
--post-data VAR= 'https://siteuptime.com/api/rest/?method=siteuptime.auth&Email=email.com&Password=passwd'\
http://siteuptime.com
#wget --load-cookies cookies.txt \
# --p
https://siteuptime.com/api/rest/?method=siteuptime.disablemonitor&AuthKey=$VAR&MonitorId=9294
But it dint seem to work. I am trying to post a command in the URL in combination with the WGET command. The command would disable/enable the monitors.
The API documentation for the command that I am trying to use is at :
http://siteuptime.com/api.php