Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks for the answer but I'm sorry, I tried with this one but same result and In my question I already split up the host and path. Commented Jun 11, 2019 at 6:08
  • @Govaadiyo That you split up the host and the path it totally fine. What I mean was, that you change your _path to api/user without the /:slug. You defined your params well in _params. I think it's just an issue with path. What does your path say in your first print statement? Commented Jun 11, 2019 at 6:27
  • I removed as per your suggestion and print like "xx.yy/api/user?slug=govadio" but not working :( curious working on Postman but not in dart.. Thanks for helping any other ways? Commented Jun 11, 2019 at 6:58