Community discussions

MikroTik App
 
MikroJunior
just joined
Topic Author
Posts: 2
Joined: Tue Aug 11, 2009 7:28 am

API Command using / as parameter and not as Space

Tue Aug 11, 2009 2:18 pm

I'm trying to send the following sentence to Mikrotik OS trough the API ...

/queue/simple/print/from=[find/target-addresses=10.6.5.2/32]

In Normal Console will be something similar to:

print from=[find target-addresses=10.6.5.2/32]


This sentence trough api is not working and I think it´s because I’m using the "/" in ip address and finally he api is interpreting this like a space...

Someone knows how to solve this kind of Problem ?


Regards, Jose.
 
ayufan
Member
Member
Posts: 334
Joined: Sun Jun 03, 2007 9:35 pm
Contact:

Re: API Command using / as parameter and not as Space

Tue Aug 11, 2009 2:34 pm

there is no "from" use queries instead:
http://wiki.mikrotik.com/wiki/API#Queries

Who is online

Users browsing this forum: No registered users and 16 guests