-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use Dio post with python django API #236
Comments
Try using explicit types. Since Flutter v1.2.1 I had to cast the result from |
@myacxy thank you for your suggestion, it definitely helped, however revealed main problem behind everying. Posting multipart formdata with Dio is different than dart http. I just would like to convert this code into Dio alternative
|
@wilk3ns Dio will decode the response body when the response content-type is "application/json" , It seems to the |
@wendux Thank you sir! You are my savior! |
Hi there, i cant get post method working with dio. I have code like this. And when executed throws an error like in Logs.
Code
Logs
The text was updated successfully, but these errors were encountered: