I am attempting to create my first SmartApp using web services
From the browser, the following command works:
https://192.168.1.81:8080/api/4/apiVer
when I attempt an HttpGet request from my app,I get a ConnectTimeoutException
def apiParams = [
uri: “https://192.168.1.81:8080”,
path: “/api/4/apiVer”,
]
log.debug "parm: " + apiParams
try {
httpGet(apiParams) { resp ->
resp.headers.each {
log.debug “${it.name} : ${it.value}”
}
log.debug “response contentType: ${resp. contentType}”
}
} catch (e) {
log.debug “something went wrong: $e”
}