title: UnityWebRequest byte array
body: <p>I am trying to send, with each frame captured by the webcam, the image bytes using a post request to be processed in a NodeJS API.</p>
  
  <p>Using this code:</p>
  
  <pre><code>Debug.Log(imageBytes.Length); //Prints a number
      Debug.Log(imageBytes); //Prints the array type (?)
      Debug.Log(imageBytes[1]); //Prints the byte
  
      UnityWebRequest www = new UnityWebRequest(url, UnityWebRequest.kHttpVerbPOST);
          UploadHandlerRaw handler = new UploadHandlerRaw(imageBytes);
          handler.contentType= "application/x-www-form-urlencoded";
          www.uploadHandler = handler;
          Debug.Log(www.uploadHandler.data[1]);
          www.downloadHandler = new DownloadHandlerBuffer();
  
          yield return www.SendWebRequest();
          string jsonResponse = www.downloadHandler.text;
          Debug.Log(jsonResponse);
  </code></pre>
  
  <p>However, when I do a <code>console.log</code>, in the API, of the <code>req.body</code> it prints </p>
  
  <blockquote>
    <p>{}</p>
  </blockquote>
  
  <p>. Apparently, the data isn't being sended by the <code>UnityWebRequest</code>.</p>
  
  <p>Any ideas on this?</p>