![Unhandled Exception: Bad state: Cannot set the body fields of a Request with content-type “application/json”](https://oflutter.com/wp-content/uploads/2021/11/Unhandled-Exception-Bad-state-Cannot-set-the-body-fields-of-a-Request-with-content-type-applicationjson-500x500.jpg)
[SOLVED]: Cannot set the body fields of a Request with content-type “application/json”.
While working with Flutter app and REST API, sometimes you might get an error: Unhandled Exception: Bad state: Cannot set the body fields of a Request with content-type “application/json”. This…
Read more »