UnityWebRequest Post Getting unknown response

I am sending post request by unity to local server and i set content Type of this post but the post request is not printable its showing something strange. if i use without content type then i can print request but i need this with content type application/x-www-form-urlencoded; charset=UTF-8

    formData.Add(new MultipartFormDataSection("version","2"));
    formData.Add(new MultipartFormDataSection("signed_body", "058fc42aea03.%7B%22device_id%22%3A%22android-4dcfbc057e2ae8589f9bbd98b591c50a2%22%2C%22guid%22%3A%2259a594f4be4049489dd879853e929f9e%22%2C%22username%22%3A%22xxxxxx%40gmail.com%22%2C%22password%22%3A%22xxxxx%22%2C%22Content-Type%22%3A%22application%2Fx-www-form-urlencoded%3B+charset%3DUTF-8%22%7D"));


    UnityWebRequest www = UnityWebRequest.Post("http://localhost/log/test.php", formData);

    www.chunkedTransfer = false;
    www.uploadHandler.contentType = "application/x-www-form-urlencoded; charset=UTF-8";

    yield return www.SendWebRequest();
    Debug.Log(www.downloadHandler.text);

I am getting this output it cannot printable

  Array
   (
    [

  --advpYdKsE8uK8whszoq2RBCm4eyg6IUf7oj0gEjt

  Content-Disposition:_form-data;_name] => "ig_sig_key_version" // Name

  Content-Type: text/plain; encoding=utf-8



   4  // Value

  --advpYdKsE8uK8whszoq2RBCm4eyg6IUf7oj0gEjt

  Content-Disposition: form-data; name="signed_body" // Name

 Content-Type: text/plain; encoding=utf-8


 // Value
  058fc42aea03.{"device_id":"android- 4dcfbc057e2ae8589f9bbd98b591c50a2","guid":"59a594f4be4049489dd879853e929f9e","username":"xxxxxx@gmail.com","password":"xxxxx","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}

  --advpYdKsE8uK8whszoq2RBCm4eyg6IUf7oj0gEjt--


  )

Update Gun Mayhem 3.0

Started by Sharyn Major at May 12, 2019 - 11:49 PM