Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General information

This action sends a GET or POST web query to a specified Serverserver.

Configuring an action

To configure this action, do as follows:the following:

  1. Go to the Programming tab.
  2. In the Event rules or Cycle rules list, click Create... (see Configuring macros).
  3. Select a start condition that triggers a macro (see Configuring start conditions).
  4. Click the Image Added button below start conditions.
  5. From the drop-down list, select General: Execute web query.
    Image Added
  6. In the Authentication method parameter, select the authentication method:
    1. Basic;
    2. Digest.
  7. In the Command parameter, select the query type:
    1. POST;
    2. GET;
    3. PUT;
    4. DELETE.
  8. In the HTTP/HTTPS parameter, select the server protocol:
    1. HTTP;
    2. HTTPS.
  9. In the IP address parameter, enter the IP address of the server.
  10. In the Port parameter, enter the port of the server.
  11. In the Username parameter, enter the username.
  12. In the Password parameter, enter the user password.
  13. In the Path parameter, enter the query path.
  14. In the Query parameter, enter the query body if necessary.
    Note
    titleAttention!

    You can use templates in the

  15. Select the authentication method: Basic or Digest (1).

    Image Removed
  16. Select query type (2). 4 types are available: POST, GET, PUT, DELETE.
  17. Select HTTP or HTTPS Server protocol (3).
  18. Enter the IP address of the Server (4).
  19. Enter the port number of the Server (5).
  20. Enter the username (6) and password (7) to be used for automatic authorization.

  21. Enter query string (8).
  22. For a POST query, enter its body (9).

    Info
    titleNote
    You can use templates to build a
  23. query body (see Text templates in

  24. macros)
  25. the action settings).

  26. Click the Apply Image Added button.

Configuration of the Execute web query action is complete.