Upload image using HttpClient
Okay after hours of researching I came to the point that I should restart from draft. I simulate a Html form upload with following C# code: private async Task<string> UploadImage(StorageFile file) { HttpClient client = new HttpClient(); client.BaseAddress = new Uri(“http://your.url.com/”); MultipartFormDataContent form = new MultipartFormDataContent(); HttpContent content = new StringContent(“fileToUpload”); form.Add(content, “fileToUpload”); var stream … Read more