Open mcuiobroker opened 2 years ago
Always interesting how such adapters are (mis)used ;) Normally simple-api shpould be used with Javascript and HTTPRequest or such ...
BTW: prettyprint AND a noanswer parametr should never come together because who would win? "printing a pretty response" or "printing no response" ? ;-)
To send onclick-command with simpleApi directly from html there is the problem, that then a new html-Page are opened to display the answer. For setting a value from a html-page directly it would be very comfortable, when no answer would be send. This should only set, when the option is set.
Example: http://192.168.178.32:8087/set/0_userdata.0.TestNumber?value=123&prettyPrint&noanswer