flutter-hugo-cms
flutter-hugo-cms copied to clipboard
await http.get failed due to not supplying URI
fixed with Uri.parse
e.g
final request = await http.get(
Uri.parse("https://api.github.com/repos/$username/$repoName"),
headers: {"Authorization": "token $accessToken"});