❔ convert webclient code to httpclient code
would like to see if someone can help convert this code exactly to httpclient code
2 Replies
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);
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.