When I use: anvil.server.get_api_origin() + '/path' in the following app, I have to click the link twice before the media returns. However, if I paste in the actual URL that the IDE gives me, I only have to click the link once, and I “get the goods”.
Is there a way to return the media from the http endpoint with one click (note that the link’s url is assigned after the click).
Thanks @shaun. The new download function meets my needs perfectly. I just love that I can trigger a download this easily. It has already made a big difference in an application that is essential to staff here. Thanks very much.