i can return data from the device without any issues using curl
curl -v http://10.1.1.10/web/api/get_info?wpl=
when i query the device from Hubitat using asynchttpGet, there is no response...the handler is not triggered by a response of any kind.
i've tried many forms of structuring the 'get', for example including appending the "?wpl=" to the path.
debug output shows the params passed to asynchttpGet to look OK (both content and format).
i'm hoping a separate pair of eyes will help: any ideas?
code chunks
...
asyncGetParams = getParams()
asynchttpGet("getHandler", asyncGetParams)
...
def getParams() {
Map params = [:]
params = [
uri: "http://" + settings.ipAddress + ":" + settings.ipPort,
path: "/web/api/get_info",
requestContentType: 'text/plain',
contentType: 'text/plain',
query: ["wpl": ""],
headers: [ "User-Agent": "Hubitat", "Accept": "*/*" ],
timeout: 5
]
}