title: Https in flutter -post do not accept integer
body: <p>I tried a lot to pass the int to the id via post but it didn't work and I used tostrin() but the api refuses to be an id string so what is the solution</p>
  <pre><code>http.Response response = await http.post(url,body:{
  &quot;id&quot;: id.toString(),&quot;customerName&quot;:name.Text,&quot;address&quot;: address.Text,&quot;isMale&quot;: true.toString};
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Q9MDa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q9MDa.jpg" alt="api image" /></a>
  Note: These entries are for clarification, and they are now fake. How can I send an api intger via http? If I convert it to a string, how do I make the API accept it?</p>