S3 Hosted Website and API CORS ERROR “Response to preflight request doesn’t pass access control check”
I have a very light application that I am putting up on AWS. An API with PUT and OPTIONS methods that uploads files to S3. The API works correctly when run via POSTMAN, Python requests, and CURL on the cli. However, the moment I try to hit the API via a simple s3 hosted webpage I hit a CORS error. In my console the error is: