title: API call to Flask API works from Postman and fails from Flutter
body: <p>EDIT: Posted fix in comments below- was using Postman incorrectly</p>
  <p>The call works successfully in postman, but fails from my flutter application. In postman, I include the following key, value in &quot;Body&quot;</p>
  <p>key: dirty</p>
  <p>Value:</p>
  <pre><code>{&quot;Roster&quot;:[],&quot;Athlete&quot;:[{&quot;AthleteID&quot;:&quot;cac8396a-d83e-4c0c-b8b4-97a0b3fdd65a&quot;,&quot;FirstName&quot;:&quot;Dom&quot;,&quot;LastName&quot;:&quot;Aluise&quot;,&quot;Alias&quot;:&quot;&quot;,&quot;Height&quot;:null,&quot;Weight&quot;:null,&quot;BDay&quot;:null,&quot;AccountID&quot;:&quot;4771ac0d-2959-4abd-9ae1-52e29b6016e6&quot;,&quot;Updated&quot;:1632947536476,&quot;Dirty&quot;:1},&quot;Trial&quot;:[]}
  </code></pre>
  <p>However the call fails when trying to make the call with Dart, once it reaches my flask API, the quotation marks inside &quot;value&quot; all become single quotes, and thus doing &quot;Json.loads&quot; on the &quot;dirty&quot; argument fails. Here is how I call the API from flutter:</p>
  <pre><code> Uri uri = Uri.parse('https://' + apiUrl + '/api/v1/' + endpoint);
      print(queryParameters);
      //final uri = Uri.https(apiUrl, '/api/v1/$endpoint', queryParameters);
      final response = await http.post(uri,
          headers: {
            HttpHeaders.authorizationHeader: 'bearer $accessToken',
            HttpHeaders.contentTypeHeader: 'application/json',
          },
          body: json.encode(queryParameters));
  </code></pre>
  <p>Where queryParameters is a map&lt;String, dynamic&gt;  like: {&quot;dirty&quot; : {&quot;Roster&quot;: [], .....} containing all the above value data.</p>
  <p>What do I need to do instead to make sure that the body is being successfully transferred to the flask API? In python, my argument is defined as:</p>
  <pre><code>        self.parser.add_argument(&quot;dirty&quot;, type=str, help=&quot;JSON encoded dirty records from local database&quot;)
  </code></pre>
  <p>I assume it is a Flutter problem because the request works through postman. Thank you</p>