If you download the example panels found here:
https://support.rossvideo.com/hc/en-us/search/click?data=BAh7CjoHaWRsKwhMsJrVUwA6CXR5cGVJIhNjb21tdW5pdHlfcG9zdAY6BkVUOgh1cmxJInNodHRwczovL3N1cHBvcnQucm9zc3ZpZGVvLmNvbS9oYy9lbi11cy9jb21tdW5pdHkvcG9zdHMvMzYwMDY1OTcwMjUyLUZyZWUtRGFzaEJvYXJkLUV4YW1wbGUtUGFuZWxzLWZvci1FdmVyeW9uZQY7B1Q6DnNlYXJjaF9pZEkiKWRkYmY1YWQ0LThmNzktNDI0MS04ZmM4LTNhMWI0ZTBiMmYzMwY7B0Y6CXJhbmtpBg%3D%3D--102b047bebf6fd4e38903ec386b0f68d8c21a184
you will find one called "HTTP Listener", under the "Communications" folder. At the bottom, it shows how you can send an HTTP message, and handle a callback from the other end.
For example:
function callback(resultStr)
{
ogscript.debug("resultStr is " + resultStr);
ogscript.rename("receivedBack", resultStr);
}
ogscript.asyncPost("http://localhost:1080/dosomething","", callback);
You can also do other types of HTTP messages (like GET and POST) with this visual logic block.

It translates to:
ogscript.asyncHTTP("http://localhost:1080/dosomething", "GET", "application/x-www-form-urlencoded", "", null);
and also has a callback method.
If you need more advanced communication between your device and your panel, you can create a listener that is listening for incoming messages from your device. That is also in the example panel.
#DashBoard