Accessing an API within a Samsung Edge Driver?

It might be easier to use an existing Edge driver that can do HTTP requests. See [ST Edge] Web Requestor: a driver to issue local POST and GET HTTP requests. Also note, since Edge drivers are running on your hub, they can only connect to private IP addresses. Connecting outside your local LAN requires a proxy device.

If you would like to continue on the path of creating your own Edge driver, you can use Todd’s repo for his driver as a reference for how to do HTTP requests in Lua.

3 Likes