Search Unity

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:
    3,732
    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!