Community discussions

MikroTik App
 
milanc
just joined
Topic Author
Posts: 8
Joined: Sat May 22, 2010 5:20 pm

Question confirmation in API

Sat May 05, 2012 9:38 pm

Hi.
What can be done via the API to confirm yes/no question? Typically, for example...

/system reboot
Reboot, yes? [y/N]:
or
/system routerboard upgrade
Do you really want to upgrade firmware? [y/n]

... Is this possible?

Thanks for answer.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Question confirmation in API

Mon May 07, 2012 11:42 am

no, that is not possible.

And for your given examples - commands are executed without confirmation as that is done in interactive environments.

If somewhere you see this - please report back so we can fix that.

Who is online

Users browsing this forum: No registered users and 13 guests