Skip to content

await http.get failed due to not supplying URI #2

@gerardwebb

Description

@gerardwebb

fixed with Uri.parse

e.g

 final request = await http.get(
          Uri.parse("https://api.github.com/repos/$username/$repoName"),
          headers: {"Authorization": "token $accessToken"});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions