API command string format help

thx~


only search profiles=vpn
/ppp/secrets/print [suss] //list all user ok!


/ppp/secrets/print =profiles=vpn [fail]
/ppp/secrets/print =profiles=vpn= [fail]
/ppp/secrets/find =profiles=vpn [fail]

use why format?

http://wiki.mikrotik.com/wiki/API#Queries

/ppp/secrets/print
?profiles=vpn

p.s. ‘profile’, not ‘profiles’?..

only list all user
not list profile=vpn user

ver? i ver is 3.13

http://wiki.mikrotik.com/wiki/API#Queries

This feature appeared in the 3.21 version.

before 3.21 you should filter out necessary values manually

by manually he means - you have to receive full list from router and then parse on your client what is what. Post 3.21 you can run queries to filter out unnecessary data/fields etc.