Flutter icon indicating copy to clipboard operation
Flutter copied to clipboard

Dio client is not working in web

Open IamSAL opened this issue 3 years ago • 7 comments

The signup and sign in requests work fine on Android virtual device. But no trace of requests when run in chrome browser.

Any insight will be helpful.

IamSAL avatar Aug 28 '22 19:08 IamSAL

Dio should work, I need to do investigation.

Sadmansamee avatar Aug 28 '22 20:08 Sadmansamee

but to inform you backend isn't running anymore, the APIs are basically demo to show implementation.

Sadmansamee avatar Aug 28 '22 20:08 Sadmansamee

Hi. Is there a way to get the structure you used in https://mockapi.io/ ?

paakjis avatar Nov 14 '22 07:11 paakjis

This is a good idea, this can be done. @paakjis

Sadmansamee avatar Nov 14 '22 18:11 Sadmansamee

Hi @Sadmansamee I can not Sign Up new user anymore. Is there any solution to fix this ? Thank you Screen Shot 2022-11-16 at 5 17 55 PM

vankhoa01 avatar Nov 16 '22 10:11 vankhoa01

@vankhoa01 You have to create your own mock API with mockapi.io. Hopefully @Sadmansamee will bless us with the structure. But you could also figure it out yourself, i did that for login and books api's.

paakjis avatar Nov 16 '22 13:11 paakjis

Hi @paakjis : Thank you so much Let me create new mock API for me

vankhoa01 avatar Nov 17 '22 01:11 vankhoa01