Versions Compared

Key

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

...

The function download is currently the only choice of an action executed by da_rest_client. The parameter <'uri to request'> must be set, for example like '/fcgi/control/memodata_download'. The parameter method is by default 'get' and the parameter timeout is by default 5 (seconds).

In case of default value usage the action command can be configured as in this example:

Code Block
languagexml
<command command_id="download">download('/fcgi/control/memodata_download')</command>

In case of usage with all parameters the action command can be configured as in this example:

Code Block
languagexml
<command command_id="download">download('/rest/memodata_download.php', method='post', timeout=3)</command>