How can I download a file with Mural API
Using the files
API endpoint (https://developers.mural.co/public/reference/getmuralfilewidgets) , I can get a list of the file widgets on a Mural. Withing the returned data is a url
linking to the file itself. I can not go to this file directly as I am not authenticated. I have tried passing the accessToken using the Bearer
header but this doesn't appear to work:
Authentication information is not given in the correct format. Check the value of Authorization header.
Can anyone advise on how to access these file urls?
Answers
-
Hang in there! Help is on the way :)
0 -
@realworld666 A bit unclear on your use cases. The files on this mural - are they accessible to you through the webapp? As in, if you open up this mural on the app and click on the file widgets, do those files open up for you?
5 -
Yes, that works fine. But I'm writing an internal tool for use by our org that requires me to be able to get the files via the API not the web app.
0 -
I have the same problem, any solution?
0 -
I found the solution of the problem, but dont know why.
Try to download the file with a new session other than that with token will success.
0