Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP GET api control
#3
Please see below


it is correct and works first time i send command

here is the commands i use: 
ipaddress/ctrl.cgi?secret=mysecret&cmd=set_output&id=1&value=1 
ipaddress/ctrl.cgi?secret=mysecret&cmd=set_output&id=1&value=0 

when i send command to turn on second time,
the browser gives a message saying success, but the output does not come on. 
here is example of output (but does not turn on) { "id": 1, "value": 1, "status": "success", "code": 0 }
Reply


Messages In This Thread
HTTP GET api control - by jc10000rpm - 08-21-2025, 06:17 AM
RE: HTTP GET api control - by admin - 08-21-2025, 09:20 AM
RE: HTTP GET api control - by jc10000rpm - 08-21-2025, 09:46 AM
RE: HTTP GET api control - by jc10000rpm - 08-21-2025, 11:05 PM
RE: HTTP GET api control - by admin - 08-21-2025, 11:24 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)