C
C#2y ago
rotatorkuf

❔ convert webclient code to httpclient code

would like to see if someone can help convert this code exactly to httpclient code
2 Replies
rotatorkuf
rotatorkuf2y ago
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);
Accord
Accord2y ago
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.