ioBroker/ioBroker.simple-api

json body data

Opened this issue · 9 comments

Would it possible for the adapter to accept json body data ? Trying to get some notification via Webhook into a datapoints from Tautulli.

Maybe this is what I need, but there is no description explaining how it works

image

Cheers

In fact body is treated as string and this is set to the state ID provided in the URL

So what exactly you need/want?

Just tell me how to use setValueFromBody. I just add this at end of the URL ?

Its working now ! method is Post and syntax is http://IP:8087/setValueFromBody/0_userdata.0.test.test?
I noticed that special characters are not decoded correctly, Can that be forced by using a flag ? The outcome looks like this "gr\u00f6sste \u00c4nder"

WHich encoding you sent in?

ü ö ä etc are not decoded

Please answer the question: Which encoding you sent for your request?

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.