Vera and openHAB - REST api

I have Vera which needs to call openhab over http to execute some rules / scene (via changing state of a Item) - this is necessary because the scenes (via rules) logic is running on openHAB but Vera is taking commands from hardware scene controller hence the call from Vera to openHAB when a button on hardware switch is pressed.

I can achieve this using "http://localhost:8080/classicui/CMD?itemname=command

but I read earlier in this forum that this method is a bad design - is there alternate way someone can suggest ?

… is running on openHAB but Vera is taking commands from hardware scene controller hence the call from Vera to openHAB when a button on hardware switch is pressed.

If it’s a MiOS/Vera Scene controller, and it’s conforming to the standard MiOS interfaces, there’ll be a set of Items on the openHAB end that’ll get change notifications each time a Button is pressed.

This is how (Vera-attached) Minimote’s and Leviton scene controllers appear. If this is what you’re doing, then you can see samples of this style in earlier posts: