z-x
z-x

Reputation: 451

Cross domain AJAX request to Amazon S3

Is there any way to enable an AJAX request sent from a server to Amazon S3?

I have a video player that loads subtitles using AJAX request and I would like to store the subtitles on Amazon S3, but obviously I've got an Cross-Origin error.

Upvotes: 3

Views: 4066

Answers (2)

Kevin Sylvestre
Kevin Sylvestre

Reputation: 38012

Relatively new but I believe it should solve the problem: http://aws.typepad.com/aws/2012/08/amazon-s3-cross-origin-resource-sharing.html

Upvotes: 5

dom
dom

Reputation: 11962

There's only a limited number of HTTP headers supported by S3 and Access-Control-Allow-* headers are not … So you have to wait till Amazon will implement this feature.

Source: AWS Developer Forums: Access-Control-Allow-Origin header

Last official statement from an AWS team member (Jun 19, 2012):

I just wanted to re-iterate that we are aware of the further requests for this feature. And we are continuing to look into this feature and we appreciate the continued feedback on this.

We will provide further information as it becomes available.

Upvotes: 1

Related Questions