Hi, into a rule I need to perform and HTTP GET and get response into a variable. The remote HTTP reply with some json and i need to use it into this rule. It is possible to perform an HTTP Get request and get the result into a String Variable?
Thanks
var String value = sendHttpGetRequest("url")
you have to use the HTTP-binding for this:
in both cases, you can transform the JSON into the string you’ll Need via simple JSONPATH Transformation: https://docs.openhab.org/addons/transformations/jsonpath/readme.html
Thanks, it work fine, Marco