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

json body data #99

Open
Headhunter70 opened this issue Dec 3, 2021 · 9 comments
Open

json body data #99

Headhunter70 opened this issue Dec 3, 2021 · 9 comments

Comments

@Headhunter70
Copy link

Headhunter70 commented Dec 3, 2021

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

@Apollon77
Copy link
Contributor

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

@Apollon77 Apollon77 reopened this Dec 3, 2021
@Apollon77
Copy link
Contributor

So what exactly you need/want?

@Headhunter70
Copy link
Author

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

@Headhunter70
Copy link
Author

Headhunter70 commented Dec 4, 2021

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"

@Apollon77
Copy link
Contributor

WHich encoding you sent in?

@Headhunter70
Copy link
Author

ü ö ä etc are not decoded

@Apollon77
Copy link
Contributor

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

@stale
Copy link

stale bot commented Sep 21, 2022

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.

1 similar comment
@stale
Copy link

stale bot commented May 9, 2023

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 stale bot added the wontfix label May 9, 2023
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

2 participants