title: How to send an integer value in POST request params using UnityWebRequest?
body: <p>I am trying to add a Multipart form data section to UnityWebRequest that contains a key whose value is an integer. Below is my code for the same:</p>
  
  <pre><code>List&lt;IMultipartFormSection&gt; formData = new List&lt;IMultipartFormSection&gt;();
  formData.Add(new MultipartFormDataSection("uploadType", 5));
  </code></pre>
  
  <p>But this is throwing an error saying cannot convert from int to byte[]. I checked the API spec for MultipartFormDataSection and it accepts (string, byte[]) only. </p>
  
  <p>Is there a way I can attach an int value instead of a byte array in the same?</p>