Search Unity

  1. We have added dedicated sub-forums for UNet, the experimental MLAPI and Unity Transport Package. Please use the new forums to discuss related topics.
    Dismiss Notice
  2. How can our website serve you better? Give us your feedback. Take our survey and let us know.
    Dismiss Notice

Is UnityWebRequest.Post really deprecated?

Discussion in 'Multiplayer' started by janweil, Jul 7, 2021.

  1. janweil

    janweil

    Joined:
    Jul 16, 2018
    Posts:
    2
    I need to send a POST request and I thought of using `https://unitywebrequest.post/` but it in this help article https://docs.unity3d.com/Manual/UnityWebRequest-SendingForm.html there's an information that we should rather use MLAPI. It seems though that MLAPI does not have an equivalent mechanism. What should we use instead? Should we switch to .NET 4.5 and utilise `System.Net.Http`? Or is this message not related to `UnityWebRequest.Post` at all, rather to some mid-level multiplayer related methods? We're using unity Unity 2019.4.6 by the way.
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    2,984
    No, the deprecation is only for UNET. UnityWebRequest just happens to be under Networking section, the deprecation warning does not apply.
     
  3. janweil

    janweil

    Joined:
    Jul 16, 2018
    Posts:
    2
    Thank you!
     
unityunity