cancel
Showing results for 
Search instead for 
Did you mean: 

traffic script rules

SOLVED
Highlighted
Occasional Contributor

traffic script rules

Is it possible for a traffic script rule to make a call to a service that provides back formatted XML and parse the string for information? Or is there a way to make cli calls to change active nodes in a pool.

2 REPLIES
Contributor

Re: traffic script rules

http.request can fire a outgoing request

you can also use the cli from trafficscript, but i would rather create s.th. like a "avoid node" part in trafficscript.

what do you want to achieve?

Moderator

Re: traffic script rules

as Jochen stated, http.request() can be used, and the response, if XML can be parsed with the xml.xpath.matchNodeCount() and xml.xpath.matchNodeSet() traffic script commands...