Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Option &noanswer #153

Open
mcuiobroker opened this issue Jul 17, 2022 · 3 comments
Open

add Option &noanswer #153

mcuiobroker opened this issue Jul 17, 2022 · 3 comments

Comments

@mcuiobroker
Copy link

mcuiobroker commented Jul 17, 2022

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
Copy link
Contributor

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

@stenmic
Copy link

stenmic commented Sep 2, 2024

genau diese Funktion würde ich auch sehr gerne haben. Kommt das vielleicht noch?

@Apollon77
Copy link
Contributor

mabe it makes more sense to switch to XHTTPRequests in the browser and use the reast-api adapter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants