Versions Compared

Key

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

...

The right hand part of the value determines the actual value used in the REST call.

The following lines are supported:

Value

Description

SpecifyExample
URL=<url>

Specifies the URL to be called. Should be specified in fully qualified form using http or https as the protocol.

A port can also be specified.

Once
URL=https://myrestserver.com:1234
METHOD=GET/POSTSpecifies the http method to useOnce
METHOD=GET
TIMEOUT=<ms>Specifies a timeout in ms before the function is aborted.Once
TIMEOUT=3000
HEADER=<http_header>Specifies an http header to be used. May be specified multiple times.Zero or more times 
HEADER=Bearer-Token: xxyyzz
QUERYPARAM=<param=value>Specifies a query parameter which will be added to the URL in URL encoded format,Zero or more times
QUERYPARAM=Agent=$agent_nickname
DATA=<value>Specifies POST data which will be sent with the request. Zero or one time
DATA=Agent=$agent_nickname

...