0 votes
1 view
in AWS by (19.2k points)

Did anyone manage to add Access-Control-Allow-Origin to the response headers? What I need is something like this:

<img src="image_url" />

This get request should contain in the response, header, Access-Control-Allow-Origin: *

My CORS settings for the bucket looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">








As you might expect there is no Origin response header.

1 Answer

0 votes
by (44.6k points)

This documentation has exactly what you need:

How Do I Allow Cross-Domain Resource Sharing with CORS?

Welcome to Intellipaat Community. Get your technical queries answered by top developers !