@@ -1560,9 +1560,9 @@ class BlinkerApi : public BlinkerProtocol
1560
1560
1561
1561
url_iot = BLINKER_F("/api/v1/storage/ts ");
1562
1562
#ifndef BLINKER_WITHOUT_SSL
1563
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
1563
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
1564
1564
#else
1565
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
1565
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
1566
1566
#endif
1567
1567
// http.addHeader(conType, application);
1568
1568
httpCode = http.POST(msg, conType, application);
@@ -1579,9 +1579,9 @@ class BlinkerApi : public BlinkerProtocol
1579
1579
1580
1580
url_iot = BLINKER_F("/api/v1/storage/text ");
1581
1581
#ifndef BLINKER_WITHOUT_SSL
1582
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
1582
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
1583
1583
#else
1584
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
1584
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
1585
1585
#endif
1586
1586
// http.addHeader(conType, application);
1587
1587
httpCode = http.POST(msg, conType, application);
@@ -2227,29 +2227,29 @@ class BlinkerApi : public BlinkerProtocol
2227
2227
case BLINKER_CMD_TIME_SLOT_DATA_NUMBER :
2228
2228
url_iot = BLINKER_F("/api/v1/storage/ts");
2229
2229
#ifndef BLINKER_WITHOUT_SSL
2230
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
2230
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
2231
2231
#else
2232
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
2232
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
2233
2233
#endif
2234
2234
// http.addHeader(conType, application);
2235
2235
httpCode = http.POST(msg, conType, application);
2236
2236
break;
2237
2237
case BLINKER_CMD_TEXT_DATA_NUMBER :
2238
2238
url_iot = BLINKER_F("/api/v1/storage/text");
2239
2239
#ifndef BLINKER_WITHOUT_SSL
2240
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
2240
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
2241
2241
#else
2242
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
2242
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
2243
2243
#endif
2244
2244
// http.addHeader(conType, application);
2245
2245
httpCode = http.POST(msg, conType, application);
2246
2246
break;
2247
2247
case BLINKER_CMD_JSON_DATA_NUMBER :
2248
2248
url_iot = BLINKER_F("/api/v1/storage/object");
2249
2249
#ifndef BLINKER_WITHOUT_SSL
2250
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
2250
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
2251
2251
#else
2252
- http.begin(BLINKER_STORAGE_HTTP , url_iot);
2252
+ http.begin(BLINKER_STORAGE_HTTPS , url_iot);
2253
2253
#endif
2254
2254
// http.addHeader(conType, application);
2255
2255
httpCode = http.POST(msg, conType, application);
@@ -12183,10 +12183,10 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
12183
12183
case BLINKER_CMD_TIME_SLOT_DATA_NUMBER :
12184
12184
// url_iot = host;
12185
12185
#ifndef BLINKER_WITHOUT_SSL
12186
- url_iot = BLINKER_STORAGE_HTTP ;
12186
+ url_iot = BLINKER_STORAGE_HTTPS ;
12187
12187
url_iot += BLINKER_F("/api/v1/storage/ts");
12188
12188
#else
12189
- url_iot = BLINKER_STORAGE_HTTP ;
12189
+ url_iot = BLINKER_STORAGE_HTTPS ;
12190
12190
url_iot += BLINKER_F("/api/v1/storage/ts");
12191
12191
#endif
12192
12192
@@ -12210,10 +12210,10 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
12210
12210
case BLINKER_CMD_TEXT_DATA_NUMBER :
12211
12211
// url_iot = host;
12212
12212
#ifndef BLINKER_WITHOUT_SSL
12213
- url_iot = BLINKER_STORAGE_HTTP ;
12213
+ url_iot = BLINKER_STORAGE_HTTPS ;
12214
12214
url_iot += BLINKER_F("/api/v1/storage/tt");
12215
12215
#else
12216
- url_iot = BLINKER_STORAGE_HTTP ;
12216
+ url_iot = BLINKER_STORAGE_HTTPS ;
12217
12217
url_iot += BLINKER_F("/api/v1/storage/tt");
12218
12218
#endif
12219
12219
@@ -12233,10 +12233,10 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
12233
12233
case BLINKER_CMD_JSON_DATA_NUMBER :
12234
12234
// url_iot = host;
12235
12235
#ifndef BLINKER_WITHOUT_SSL
12236
- url_iot = BLINKER_STORAGE_HTTP ;
12236
+ url_iot = BLINKER_STORAGE_HTTPS ;
12237
12237
url_iot += BLINKER_F("/api/v1/storage/ot");
12238
12238
#else
12239
- url_iot = BLINKER_STORAGE_HTTP ;
12239
+ url_iot = BLINKER_STORAGE_HTTPS ;
12240
12240
url_iot += BLINKER_F("/api/v1/storage/ot");
12241
12241
#endif
12242
12242
0 commit comments