shawondeveloper / php-mysql-flutter-login-register

complete flutter php mysql login and register
47 stars 20 forks source link

Http error #1

Open prince271 opened 3 years ago

prince271 commented 3 years ago

Hello bro, Please tell me how can I fix this error "the argument type 'String' can't be assigned to the parameter type 'Uri'"

Thank you so much Capture d’écran 2021-05-22 à 21 15 30

shawondeveloper commented 3 years ago

Use Uri.Parse(url)

Sent from Yahoo Mail on Android

On Sun, May 23, 2021 at 3:19 AM, @.***> wrote:

Hello bro, Please tell me how can I fix this error "the argument type 'String' can't be assigned to the parameter type 'Uri'"

Thank you so much

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

prince271 commented 3 years ago

Please bro how can I configure map now (body : {...}). If I do Uri.parse(url, body) Capture d’écran 2021-06-09 à 21 24 34

shawondeveloper commented 3 years ago

Var response = await http.post(Uri.parse(urlApi),body); Sent from Yahoo Mail on Android

On Thu, Jun 10, 2021 at 3:25 AM, @.***> wrote:

Please bro how can I configure map now (body : {...}). If I do Uri.parse(url, body)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.