ioBroker.simple-api
ioBroker.simple-api copied to clipboard
add Option &noanswer
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
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" ? ;-)
genau diese Funktion würde ich auch sehr gerne haben. Kommt das vielleicht noch?
mabe it makes more sense to switch to XHTTPRequests in the browser and use the reast-api adapter?