title: Flutter POST request body not sent
body: <p>I want to make a post request in Flutter with the following code:</p>
  
  <pre><code>// Body: {"email": "example@email.com", "pass": "passw0rd"}
  
  Future&lt;dynamic&gt; post(String url, var body) async {
    var response = await http.post(url, body: body);
    final String res = response.body;
    return res;
  }
  
  // That's not the full code. I removed some lines because they are useless for this thread.
  // Most of them are only some debug outputs or conditional statements
  </code></pre>
  
  <p>The problem is that my post request doesn't include the body with my request. I checked that with some outputs on my server.</p>