Skip to content

Commit 318faba

Browse files
authored
Update WebBit_ESP32_MyBlockly_JSON.ino
1 parent b208b56 commit 318faba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

WebBit_ESP32_MyBlockly_JSON.ino

+4-2
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,8 @@ String tcp_http(String domain,String request,int port,byte wait)
690690
String tcp_https(String domain,String request,int port,byte wait)
691691
{
692692
WiFiClientSecure client_tcp;
693-
//client_tcp.setInsecure(); //version 1.0.6
693+
client_tcp.setInsecure(); //run version 1.0.5 or above
694+
694695
if (client_tcp.connect(domain.c_str(), port))
695696
{
696697
Serial.println("GET " + request);
@@ -748,7 +749,8 @@ String LineNotify(String token, String request, byte wait)
748749
request.replace("%20stickerId","&stickerId");
749750

750751
WiFiClientSecure client_tcp;
751-
//client_tcp.setInsecure(); //version 1.0.6
752+
client_tcp.setInsecure(); //run version 1.0.5 or above
753+
752754
if (client_tcp.connect("notify-api.line.me", 443))
753755
{
754756
client_tcp.println("POST /api/notify HTTP/1.1");

0 commit comments

Comments
 (0)