Hi all,
for my home automation system controlling widget GarminFhem, I would like to display some values from the system such as a temperature or a state of a (light) switch.
The HTTP request I intend use for this returns a simple text (response content-type = text/plain) with the requested value. I tried quite a lot of variants for calling the makeWebRequest, but is my assumption correct that returning "text" is not supported? I know that there is no constant for text in Communication.HTTP_RESPONSE_CONTENT_TYPE_*, but I somehow think that my use case is so simple that it should work.
Did manage to process a text response even if it was no JSON?
Thanks & regards,
Florian