I’m trying to configure a Thing in the PaperUI of OH2 using the EXEC binding. But unfortunately without success.
Since the command
curl -s -H “Accept: application/json” http://192.168.0.17:8182/properties
executed in the openHABian terminal returns the right response in JSON format, the response in the PaperUI is always html/plain text. Means that the Header information wasn’t correctly passed to the curl command.
I already tried several variants
Does somebody have a working example how to pass Header information to the curl command using the EXEC binding in PaperUI Thing definition?
Any ideas how it could work?