So, I am using the NodeMCU firmware with its HTTP module. The code is from the link. As per this documentation, both HTTP and HTTPS URLs should be working just fine. I keep getting an error when I use HTTPS.
https://nodemcu.readthedocs.io/en/master/en/modules/http/#httppost
"The plain HTTP request was sent for HTTPS port".
http.post('https://maker.ifttt.com/trigger/......',
'Content-Type: application/json\r\n',
'{"value1":"mainlobby"}', function(code, data)
if (code < 0) then
print("HTTP request failed")
else
print(code, data)
end
end
kindly, help out. Thanks.