Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

UnityWebRequest Post submits empty/null $_POST

$
0
0
I've been going through the documentation for submitting a form via UnityWebRequest.Post, and seemingly no matter what method I use, the values always run in empty on the server.

Here is my IEnumerator that submits the web request

Code (CSharp):
  1. IEnumerator Upload()
  2.     {
  3.         WWWForm form = new WWWForm();
  4.         form.AddField("action", "create-user");
  5.  
  6.         //url is filled in on my end, replacing with "--------" here
  7.         UnityWebRequest www = UnityWebRequest.Post("--------",...
UnityWebRequest Post submits empty/null $_POST

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>