-2

I`m try to filter response from mikrotik. Can I use some command like :

['/ip/firewall/nat','=find=action=dst-nat']

?

scorpio
  • 61
  • 2
  • 6

1 Answers1

0

Find is not working with API. Use query syntax to filter items.

/ip/firewall/nat/print
?action=dst-nat

Please note that you have missed print in the command word.

Uladzimir Palekh
  • 1,846
  • 13
  • 16