The following simple script examples show how the API can be used to automate certain tasks.

Note: These examples are shell scripts, however any language with HTTP capabilities can be used.

The examples below contain variables rather than values. Variables are preceded by a dollar sign ($). For example:

  • $1 - This variable is set to the LoadMaster IP address, for example 20.200.25.100.
  • $2 - This variable is set to the username, for example bal.
  • $3 - This variable is set to the password, for example 1fourall.