Closed Dammyololade closed 2 years ago
I've raised a PR https://github.com/syedmurtaza108/chucker-flutter/pull/7 to fix the issue, kindly review and update. I'm happy to provide support for other issues as well. Thanks.
@Dammyololade PR merged and available with the latest release published on pub.dev. As a sign of appreciation, I have added you as a contributor in ReadMe.md file ReaMe file.
Describe the bug
Error when sending a post request with a content type application/json. This is because request.bodyFields throws a state error StateError('Cannot access the body fields of a Request without ' 'content-type "application/x-www-form-urlencoded".')
Log
` [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Read failed
0 IOClient.send (package:http/src/io_client.dart:66:7)