error while sending files into aws s3 - react - react-aws-s3
my problem is that I have strange response on put operation into my bucket
Im using package react-aws-s3, in the configuration it only requires the name of the bucket, user keys, and region, so it's hard to get something broken on the code side.
if CORS is already enabled , please check below points, also did you included PUT verb as part of request method..
The request's Origin header must match AllowedOrigin elements.
The request method (for example, GET, PUT, HEAD, and so on) or the
Access-Control-Request-Method header in case of a pre-flight OPTIONS
request must be one of the AllowedMethod elements.
Every header specified in the Access-Control-Request-Headers request
header of a pre-flight request must match an AllowedHeader element.