rotatorkuf
❔ convert webclient code to httpclient code
using var webClient = new WebClient();
webClient.Headers.Add("Content-Type", "application/zip");
webClient.Headers.Add("x-ms-blob-type", "BlockBlob");
webClient.Headers.Add("Overwrite", "T");
webClient.UploadFile(azureWriteUrl, WebRequestMethods.Http.Put, filePath);
3 replies