When I use the api it works great to retreve values. But everytime I try to set a value or just change something nothing happens. Its like its in some kind of readonly mode or something like that.
Any ideas? Its very frustrating ![]()
When I use the api it works great to retreve values. But everytime I try to set a value or just change something nothing happens. Its like its in some kind of readonly mode or something like that.
Any ideas? Its very frustrating ![]()
what exactly is not working? I successfully work with Firewall Address Lists, inspect ARP Table via API, RouterOS v3.22
check that your API user have ‘write’ privilege
Nothing. cant change ssid or basic thinks like that. Hm where do I check if the write privileges are enabled?
Users - Groups
p.s. don’t you receive any Traps from RouterOS?..
I have full read and write permissions.. It works if I send commands via telnet bur the api commands for setting values just dont work, and dosent return anything.
anything? even ‘!done’? then you probably send wrong command. didn’t you forget the last empty word?
No I send the last 0 after.
/interface/wireles/nstreme/
=set=wlan1
=enable-nstreme=true
this is one command I try to use but nothing happens. reading the value works great though. Im I missing something? Im totaly new to the api funktions.
well, I don’t know wireless command structure, but your commandd should be like this:
/interface/wireles/nstreme/set
=interface=wlan1
=enable-nstreme=true
what command do you use in CLI for this?
Ah sorry just typed it wrong. The commands look exactly like yours. Now I have started to get !done as a response but still nothing happens.
everything works fine with standard cli command over telnet
if you are sure that you do it in right way, but nothing happens - please write to support with bug description (support@mikrotik.com)
unfortunately I cannot test this because I do not have a wireless interface, but with firewall all is working, as I said