XHR ile de yapabilirsin
ajax işlemlerinde ise bu hatayı veriyor
Access to XMLHttpRequest at 'https://buckets.s3-eu-west-2.amazonaws.com/' from origin 'https://mydomains.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.