C
C#3y 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
rotatorkufOP3y 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
Accord3y 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.

Did you find this page helpful?