But in fact can obtain the response data, the less likely than I request to have excuse me Daniel encountered such a problem, what is my improper use or stepped on pit,
Public IEnumerator the SendRequest ()
{
UnityWebRequest request=new UnityWebRequest (URL, "POST");
Request. UploadHandler=new UploadHandlerRaw (netPostData_);
Request. DownloadHandler=new DownloadHandlerBuffer ();
Yield return request. SendWebRequest ();
The Debug Log (" Response ");
}
Also is what I call the five StartCoroutine (the SendRequest ()), but in fact in the SendRequest function played the Debug Log. The Log (" Response ") will be less than 5 times, is this why?
CodePudding user response:
This part of the normal unity a request frequency gao will go wrong