Closed suneel419 closed 2 years ago
Just tested and there is no problem accessing it using https
This AsyncHTTPSRequest_Generic library is designed for more complex HTTPS, so you must use https
, instead of http
For http
, use simpler AsyncHTTPRequest_Generic library
requestOpenResult = request.open("GET", "https://worldtimeapi.org/api/timezone/America/Toronto.txt");
Starting AsyncHTTPSRequest_ESP using ESP32_DEV
AsyncTCP_SSL v1.1.0
AsyncHTTPSRequest_Generic v1.2.0
Connecting to WiFi SSID: HueNet1
........
AsyncHTTPSRequest @ IP : 192.168.2.92
**************************************
abbreviation: EST
client_ip: 69.165.148.116
datetime: 2021-11-22T19:36:16.038650-05:00
day_of_week: 1
day_of_year: 326
dst: false
dst_from:
dst_offset: 0
dst_until:
raw_offset: -18000
timezone: America/Toronto
unixtime: 1637627776
utc_datetime: 2021-11-23T00:36:16.038650+00:00
utc_offset: -05:00
week_number: 47
**************************************
thank you
On Tue, 23 Nov 2021 at 06:12, Khoi Hoang @.***> wrote:
Closed #2 https://github.com/khoih-prog/AsyncHTTPSRequest_Generic/issues/2.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/khoih-prog/AsyncHTTPSRequest_Generic/issues/2#event-5657442136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPDC7S4SL2GVUU6OYSZW2LUNLPOBANCNFSM5INTX3BQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- BUJALA SUNEEL KUMAR REDDY Embedded Systems Engineer-II PRAUDYOGI INNOVATIONS Mob:8790225440 Email:.suneelkumar.reddy @*.**@*. @.>*
I didnot get the output using http link, like that http://worldtimeapi.org/api/timezone/America/Toronto.txt