It is possible to create/update server sets, retrieve status information, and control most other functions in Simple Failover via HTTP.
This opens the possibility of creating your own web-interface to Simple Failover, and/or integrating it with your existing hosting solutions.
The data is provided in XML format for easy integration with other applications.
These HTTP functions can be accessed via the URL:
http://<IP>:<PORT>/<FUNCTION>
Replace <IP> with the Local IP address entered in the Options dialog / General tab.
Replace <PORT> with the port number entered in the Options dialog / General tab.
Replace <FUNCTION> with a function name from below (extensions such as ".html" must not be added)
All functions can be accessed using either HTTP methods GET or POST.
When using GET, all parameters must be specified in the URL.
When using POST, all parameters must be specified as form data (not in the URL).
We recommend using POST for the UpdateSS function, and GET for all other functions.
For testing purposes, all HTTP functions are also listed and linked to from a simple web page accessible in a browser using the same URL as above, but without any function name.
(*)
An additional logpt (log pass through) parameter can be used with all the HTTP functions.
The value of this parameter will simply be passed through to the Simple Failover log (including scripting) and can be anything you wish.
This can be used for example to track user IP addresses, to identify the client application, or to add comments about why certain actions were taken.
For example:
http://127.0.0.1:8201/PauseSS?ss=client.com?logpt=acct+suspended
Please note: This feature is only available with the Professional license type.