How to connect to OpenHAB REST API?

I have written a code with ROS and OpenCV that I want to send my video to openhab.
How to connect to OpenHAB REST API?

Please, guide me.
Thank you.

Hi @samira, you might find the official documentation useful, especially for general concepts:

https://docs.openhab.org/configuration/restdocs.html