Coder Social home page Coder Social logo

Comments (5)

sidealice avatar sidealice commented on June 20, 2024

dio.get其他是没问题的。
dart是2.1
flutter 是0.7.5

请教下这个utf8是否和post的无关,我有没有办法看到返回的数据?
即便是我改为text plain都是会报错的。 这个错误是哪里监测到的?

from dio.

sidealice avatar sidealice commented on June 20, 2024

我用http的包post同样的数据可以获取return code是200,返回的body是json的数据。我在想问是否有没有可能是你们的代码里面做json解析哪里有问题?

from dio.

wendux avatar wendux commented on June 20, 2024

@sidealice 加我qq我帮你调一下824783146

:octocat: From gitme Android

from dio.

sidealice avatar sidealice commented on June 20, 2024

谢谢帮忙,耽误您这么久时间了。

from dio.

sidealice avatar sidealice commented on June 20, 2024

问题是header里面的Content-Type和formData有冲突
自己写代码用常量HttpHeaders.contentTypeHeader可以避免。

from dio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.