Use REST GET as a trigger

Would the ClassicUI http service work for you?

(You don’t need to configure anything, just have it loaded, then use the unique name of the Item you want to change)

https://www.openhab.org/docs/configuration/ui/classic/

And create a command in the switch like the one shown here ?

So a command to load into your switch might be —

http://192.168.xxx.xxx:8080/classicui/CMD?My_Switch=ON

Then use a DSL rule or NodeRed flow to turn the OH switch off again.