How to integrate a Web API with the Home Remote?

There is a software called “QLC+” it’s a lighting software.
This software provides a web interface to control lights.
it has a Web API. QLC+ Web API Test

I set the web interface in the home remote web browser. it works fine.
Could someone direct me how to make a button in the home remote and send it to the web interface? and vice versa?

Thank you.

Here is what QLC+ documentation says (Q Light Controller Plus - Web Interface)

The web interface can be accessed from any modern web browser running on any device, such as a computer, a tablet or a smartphone. Your browser needs to support the web sockets technology to communicate with QLC+, and it is recommended to use Google Chrome.
It is also possible to design custom web pages and access QLC+ functionalities via web API which are basically strings formatted in a specific way and sent to QLC+ via websocket.
A test page with the available APIs can be found here.

To access the QLC+ web interface simply connect to this address:
http://[IP address]:9999

Here are some examples that may help.