Allow AJAX GETs from Amazon S3? (Access-Control-Allow-Origin)

后端 未结 11 1847
灰色年华
灰色年华 2020-12-23 16:34

I\'m storing JSON objects in Amazon S3, and I\'d like to load that data directly from S3 from Javascript. My GET looks pretty generic:

$.ajax({
    \'type\':         


        
11条回答
  •  一向
    一向 (楼主)
    2020-12-23 17:23

    
    
        
            http://*
            https://*
            GET
            *
        
    
    

    This CORS configuration worked like a charm

提交回复
热议问题