Logic Machine Forum
Http over Flic - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Http over Flic (/showthread.php?tid=6106)



Http over Flic - mariosp - 08.09.2025

hello guys im new to the api and http request protocol and i need your help !!
I saw about the  remote services and im trying to send a httprequest  from the flic app and it doesnt work .
I am trying this and its working from my pc but not throw the phone 
when i have a simple push i sent this http://remote:remote@192.168.0.10/scada-remote?m=json&r=grp&fn=write&alias=1/1/2&value=true

Thnak you in advance!!


RE: Http over Flic - admin - 09.09.2025

Install 2025 RC firmware and enable "Send Basic auth header" in System config > Services > Remove services.


RE: Http over Flic - mariosp - 10.09.2025

(09.09.2025, 06:19)admin Wrote: Install 2025 RC firmware and enable "Send Basic auth header" in System config > Services > Remove services.
I already did that.In the flic app i get : internet request: request failed :bad request(400)


RE: Http over Flic - Daniel - 10.09.2025

Did you enable the Export option for object 1/1/2?


RE: Http over Flic - mariosp - 10.09.2025

(10.09.2025, 17:34)Daniel Wrote: Did you enable the Export option for object 1/1/2?

Yes i dont i dont get the it now but it doesnt work. i have to use the post method right ?


RE: Http over Flic - admin - 11.09.2025

Both GET and POST methods should work. What is your POST data payload?