DetlefM Posted May 20, 2017 Posted May 20, 2017 When I create a timer with http://192.168.0.108:8089/api/timeradd.html?enable=1&ch=2359890582721931325&title=MyTestTime&dor=42875&start=1150&stop=1205 all works fine but I get no response from the server. I think it will be fine to get an answer. A failure answer when something is wrong and maybe a timer record if all works fine. Because when I want to store this timer id where ever it is not easily possible. The only way I see at this moment is to create the timer with an UUID title, request a timer list after the creation call, remember the timer id and make a third call to change the title to something useful. And 1 call is better then 3 calls. And - not so important but helpful is to get api responses in json. Most of javascript and REST apis expecting the json format and somebody must convert it. And I prefer the server do it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.