D
D
Dmitry2017-09-07 10:59:23
Mikrotik
Dmitry, 2017-09-07 10:59:23

Mikrotik HTTP request via Script how to make?

Good afternoon,
I have Hap Lite firmware v 6.39.2 I send it
via the command line:
/tool ​​fetch url=" http://admin:[email protected]/protect/leds.cgi\?led=1 " mode=http
Light bulb lights up.
And on the floor, the command through the script does not work, but in the Log it writes:
fetch: file leds.cgi\?led=0" Downloaded
and a file appears in Files leds.cgi?led=0 with a weight of 10B
But the light does not light up.
How to make HTTP Did the request through the script work?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mr_serg77, 2017-09-07
@mr_serg77

Look towards curl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question