I have a static website hosted on AWS S3 bucket. My website has Google place API integartion, but I am getting CORS error while my website is trying to make request to "https://maps.googleapis.com/maps/api/place/autocomplete" API.
I have configured following CORS on S3 bucket -
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
Is there anythng else I am missing? I also have updated CORS settings on Google API Console -
Note :- It works if I enable CORS extension in browser