Hi,
I have created simple page to download file from bitbucket (I have a pipeline which at the end of process upload file to repository download page).
My problem is when try to download file from angular page (I'm using api https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/downloads/%7Bfilename%7D).
After creating GET request to api, the error response reason is 'Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.'
As a part of error message is a link to amazon AWS cloud - when I click on the link download file will start.
Could you please help me?
Here is log from my browser ..
