How to upload video to S3 via CloudFront using C# HttpClient or AWS SDK
问题 I'm trying to upload files (Images & Video) to an AWS CloudFront distribution, that points to an s3 bucket. Currently, I can use the HttpClient to GET and PUT files using signed URLs generated via the CloudFront SDK. using (HttpClient client = new HttpClient()) using (var stream = File.OpenRead(filepath)) using (HttpResponseMessage response = await client.PutAsync(url, new StreamContent(stream))) { response.EnsureSuccessStatusCode(); } I originally tried a POST, but this didn't work at all