30.08.2020, 17:09
Hi!
I have a question about http post with mikrotik.
I have this code to write value on LM:
But I see that it´s posible getvalue from LM.
I´ve tried this:
But I cant´t get value. Is there something wrong?
Thanks
I have a question about http post with mikrotik.
I have this code to write value on LM:
Code:
/tool fetch url="http://remote:remote@192.168.2.205/scada-remote" http-data="m=json&r=grp&fn=write&alias=33/1/41&value=1" http-method=post;
But I see that it´s posible getvalue from LM.
I´ve tried this:
Code:
{
:local value [tool fetch url="http://remote:remote@192.168.2.205/scada-remote" http-data="m=json&r=grp&fn=getvalue&alias=33/1/241" http-method=get];
:put $value
}
But I cant´t get value. Is there something wrong?
Thanks