The HTTP Get/Post action sends a HTTP Get or Post request to a web server.
Parameters
Monitor host or Specific host. If specific host, enter the Hostname. 80.name=value, one parameter per row. The following formatting variables can be included in a parameter.%[system.time] - current time%[device.name] - device name%[device.address] - device address%[monitor.name] - monitor name%[monitor.error] - monitor error message%[monitor.error2] - monitor error message, no time stamp%[device.description] - device description%[group.name] - group name%[group.contact] - group contactISO-8859-1 or UTF-8. The encoding used by the request.Monitor credentials or Stored credentials. Example: Get and post request with absolute URL
This example demonstrates two different ways of sending requests with variables to a web server, using either the get request or post request.
Get request
http://www.yourserver.com/test.php?test1=1&test2=2Post request
http://www.yourserver.com/test.phptest1=1test2=2Example: Get and post request with a relative URL
This example demonstrates two different ways of sending requests with variables to a web server, using either the get request or post request. The URL is relative to the address of the device calling the action.
Get request
test.php?test1=1&test2=2Post request
test.phptest1=1test2=2