Hello.
I want to write a smartapp to get same data from a local server and pass these on DH.
When I trying with the code below:
def params = [
uri: "10.0.10.10:8080"
]
try {
httpGet(params) { resp ->
def data = "$resp.data".toString()
log.debug (data)
}
Am getting the following error:
something went wrong: java.lang.SecurityException: Endpoint http://10.0.10.10:8080 is blacklisted.
After browsing the web, I found that ST hub prevent this action because the web server is a local IP address and not external.
Is there any workaround or an alternative method to get the requested data from the local web server?
Thanks.