Hey all. I am trying to port an app from smartThings over to hubitat. The app uses TLS. Based on this conversation do you have any other suggestions on what I can do? Here is the code:
return httpPost([
uri: "https://my-digitallife.att.com/tg_wam/login.do",
headers: [
'Referer': 'https://my-digitallife.att.com/dl/',
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36'
],
tlsVersion: "TLSv1.1",
body: "source=DLNA&targetURL=https://my-digitallife.att.com/dl/#/authenticate&loginURL=https://my-digitallife.att.com/dl/#/login&userid=${settings.attUsername}&password=${settings.attPassword}"
]) { response ->