ltm rule command REST sendΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



REST::send
       Send a rest request.

SYNOPSIS
DESCRIPTION
       Send a rest request locally to the Big-IP REST Framework

RETURN VALUE
VALID DURING
       ANY_EVENT

EXAMPLES
	Sending a POST request to the 'shared/rpm-tasks' local REST endpoint:
	    REST::send -method "POST" "/shared/rpm-tasks" "{ operation: 'QUERY' }"

	Sending a GET request to the '/shared/iapp/blocks' local REST endpoint:
	    REST::send -method "GET" "/shared/rpm-tasks"

	This command only supports sending of requests, the response from this request will not be available within the iRule.

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-12.1.0 --Added example to help page.  @BIGIP-11.5.0 --First
       introduced the command.



BIG-IP				  2017-01-31			      iRule(1)