I am trying to add a rule to queue simple and i am using php api to do that as follows:
example:
$API->comm("/queue/simple/add", array(
"target-address="=> "10.10.10.16",
);
and its throwing error on the debug page :
Connected...
<<< [17] /queue/simple/add
<<< [28] =target-address==10.10.10.16
>>> [5/5] bytes read.
>>> [5, 35]!trap
>>> [26/26] bytes read.
>>> [26, 8]=message=unknown parameter
>>> [5/5] bytes read.
>>> [5, 1]!done
while all other api works just fine..thanks in advance.