This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Http over Flic
#1
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!!
Reply
#2
Install 2025 RC firmware and enable "Send Basic auth header" in System config > Services > Remove services.
Reply
#3
(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)
Reply
#4
Did you enable the Export option for object 1/1/2?
------------------------------
Ctrl+F5
Reply
#5
(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 ?
Reply
#6
Both GET and POST methods should work. What is your POST data payload?
Reply


Forum Jump: