Control Openhab from a server/app

Hi everybody,

I working on a school project that uses openhab.
I need to build my own android app that will be able to control devices that I’ve already connected to the system.

my question is, is there a way to connect to the openhab and get/change data, or the only possible way to do it is by post/get requests?

Thanks a lot,

openHAB2 offers an API for that. (just install API documentation, go to http://youropenhabip:8080/ and chose REST API…

Thanks, looks exactly what I was looking for