CORS Issue resolution at AWS S3 bucket level —CORS configuration

Go To AWS S3 Console and add config json as shown below

Click on Edit and paste below config JSON. Click Save changes.

[
{
“AllowedHeaders”: [
” ], “AllowedMethods”: [ “GET”, “PUT”, “POST”, “DELETE” ],

“AllowedOrigins”: [ “*”
],
“ExposeHeaders”: [
“x-amz-server-side-encryption”,
“x-amz-request-id”,
“x-amz-id-2”
],
“MaxAgeSeconds”: 30000
}
]


AWS S3 – Data upload c#

Log in to AWS console https://aws.amazon.com/console/

Amazon S3 : Amazon S3 or Amazon Simple Storage Service is a service offered by Amazon Web Services that provides object storage through a web service interface. Amazon S3 uses the same scalable storage infrastructure that Amazon.com uses to run its e-commerce network.