Skip to content

UnityWebRequest error www.downloadHandler.text #9

@CodePitch

Description

@CodePitch

IEnumerator EnviarPregunta(long code, string p)
{
using (var www = new UnityWebRequest("http://127.0.0.1:5880/Recibido?code=" + code + "&msg=" + p, "GET"))
{
yield return www.SendWebRequest();
if (www.isNetworkError || www.isHttpError)
{
Debug.Log(www.error);
}
else
{
Debug.Log(www.downloadHandler.text);
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions