Calling REST APIs from Rules in openHAB3

Hi all,

I need to call a openHAB Rest API from a rule to Disable a Thing.

Due to the now needed authorization just sending a sendHttpPutRequest (as described here: [SOLVED] Enabling and disabling Things from for example Basic UI) is not possible anymore.

Any idea how to handle the necessary authorization?

Thanks
Jens

see here: [OH3] HowTo perform sendHttpGetRequest and sendHttpPutRequest in order to read/write through REST API

1 Like

Danke Wolfgang!
This worked for me after I figured out how to escape the “@”-sign in my user name :man_facepalming:

1 Like