Page 2 of 2

Re: Is it possible to use wget or curl on Gargoyle interface?

Posted: Wed Mar 31, 2021 12:16 am
by Lantis
The fastest SSH methods would be

Code: Select all

uptime
ifstatus wan | jsonfilter -e "@['ipv4-address'][0].address"

Re: Is it possible to use wget or curl on Gargoyle interface?

Posted: Wed Mar 31, 2021 3:34 am
by rockyd
Thanks for your help. With the messing around with curl in a batch file, I was able to adapt it to php.

resulting in
https://www.rockysnet.com/uptime/

Re: Is it possible to use wget or curl on Gargoyle interface?

Posted: Wed Mar 31, 2021 4:34 am
by Lantis
That's pretty cool :)