Community discussions

MikroTik App
 
ssbaksa
newbie
Topic Author
Posts: 31
Joined: Tue Oct 20, 2015 10:38 am

Please fix fetch so we can use data: variable in scripts.

Wed Jul 04, 2018 11:49 am

Please fix fetch so we can use data: variable in scripts.
/tool fetch mode=http url="http://api.ipify.org/" http-method=get output=user
 
Chupakabra303
just joined
Posts: 14
Joined: Tue Jun 20, 2017 3:07 pm

Re: Please fix fetch so we can use data: variable in scripts.

Thu Jul 05, 2018 11:26 am

I join the aforementioned.
Another way to get public ip:
:put [:resolve domain-name="myip.opendns.com" server=resolver1.opendns.com]
 
ssbaksa
newbie
Topic Author
Posts: 31
Joined: Tue Oct 20, 2015 10:38 am

Re: Please fix fetch so we can use data: variable in scripts.

Thu Jul 05, 2018 4:02 pm

I join the aforementioned.
Another way to get public ip:
:put [:resolve domain-name="myip.opendns.com" server=resolver1.opendns.com]
Nice one. I am afraid of only one thing here. Cisco have bought opendns and this service is free for now but for how long?
Is there limit on request number per amount of time?
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1071
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: Please fix fetch so we can use data: variable in scripts.

Wed Jul 25, 2018 7:11 pm

Yes, please! I need this as well.
Still wondering why this was added some time ago half-finished...
 
dragonspeed
just joined
Posts: 1
Joined: Sun Jan 28, 2018 7:06 pm

Re: Please fix fetch so we can use data: variable in scripts.

Thu Jul 26, 2018 9:14 pm

+1
Thanks

Who is online

Users browsing this forum: Bing [Bot], ianjay06, memo009525 and 104 guests