In the following figure, the script I wrote via routeros api gives an error. What's the right way?
Code:Select all
$API->write('/ip/hotspot/cookie/remove'); $API->write('=user=155548745'); $OKU=$API->read(false); $ARRAY = $API->parseResponse($OKU); print_r ($ARRAY); Error Code : [code][!trap] => Array ( [0] => Array ( [message] => no such command prefix ) )