Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve this Error while getting data from World Time API, getting error as shown in below image. #34

Open
khalandarmdk opened this issue Feb 22, 2021 · 2 comments

Comments

@khalandarmdk
Copy link

khalandarmdk commented Feb 22, 2021

Hi Shaun, how to solve this error...
Lesson 27 - while getting data from "World Time API"
help me.

Performing hot restart...
Syncing files to device AOSP on IA Emulator...
Restarted application in 1,647ms.
E/flutter (10935): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: Bad state: Insecure HTTP is not allowed by platform: http://worldtimeapi.org/api/timezone/Asia/Kolkata

Flutter Tutorial for Beginners #27 - World Time API

@khalandarmdk khalandarmdk changed the title can't make request to get data from Word Time API, getting error as shown in below image. can't make request to get data from World Time API, getting error as shown in below image. Feb 22, 2021
@khalandarmdk khalandarmdk changed the title can't make request to get data from World Time API, getting error as shown in below image. How to solve this Error while getting data from World Time API, getting error as shown in below image. Feb 22, 2021
@bandhanRoy
Copy link

Use https: It works you won't get that error @khalandarmdk

@rafaelwillen
Copy link

#35 Check my answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants