ioBroker / ioBroker.simple-api

HTTP-API Interface to read and write objets and states
MIT License
41 stars 19 forks source link

add Option &noanswer #153

Open mcuiobroker opened 2 years ago

mcuiobroker commented 2 years ago

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 jarvis-v3-Beispiel spotify mit simpleApi

Apollon77 commented 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" ? ;-)