We are developing monday app as Item View. App should get the Item, which has file column. Well, monday API v2 provides getting this as an asset object having public_url. Fine. This URL works if I open in as link in another browser window or something, but our app should obtain the binary content of this file (image) to embedd it into some PDF document.
The issue is CORS. Our app hosted on monday, so it has url like https://bla-bla.cdn.monday.app/… and that is URL of iframe, which actually used as ItemView.
However, the file public URL is like https://files-monday-com.s3.amazonaws.com/
Ok, we found workarround as writting some micro-backend which will just CORS-free-proxy. But I think it could be better if Monday provide such proxy for its s3 files. Just like files.monday.app or like this.
Has anybody any ideas how to avoid to develop own CORS-free-proxy to “just obtain content of Monday file from monday APP”