Uploading blob to Azure with Unity
<p>I am trying to upload data to a blob service on Azure portal. </p>

<p>I have been trying to use this page: <a href="https://msdn.microsoft.com/library/azure/dd179451.aspx" rel="nofollow">https://msdn.microsoft.com/library/azure/dd179451.aspx</a></p>

<p>The code I have is the following:</p>

<pre><code>IEnumerator SetItem ()
{
    DataJson data = new DataJson("Amy", "201289");
    string json = JsonUtility.ToJson(data);
    UnityWebRequest newWWW = UnityWebRequest.Put(
        "https://compstorage.blob.core.windows.net/folderName/item", json);
    yield return newWWW.Send();
    if (newWWW.isError == false)
    {
        Debug.Log("Form upload complete!");
    }
    UnityWebRequest www = UnityWebRequest.Get("compstorage.blob.core.windows.net/folderName/item.json");
    yield return www.Send();
    string text = System.Text.Encoding.UTF8.GetString(www.downloadHandler.data);
    DataJson newData = JsonUtility.FromJson&lt;DataJson&gt;(text);
    Debug.Log(newData.ToString()); 
}
</code></pre>

<p>The blob is set as Blob meaning read, write permission. I tried all kind of variations like adding/removing file extension, also adding the SaS key but it never updates the server content despite the Put request claiming to be successful. The Get request does work fine but prints old version of data, not the updated one.</p>

<p>Does anyone know the way to use the Put request in Unity</p>