'How to automatically download files from Sharepoint via REST API using postman
Stuck with a requirement where I have some CSV files in Sharepoint and I need to download them using REST API.
I am using postman for this task. After generating access token and running the REST API
https://xyz.sharepoint.com/sites/YYYFILES/_api/Web/GetFolderByServerRelativeUrl('test_library/lib')/Files
in postman, I am able to see JSON but files are not being downloaded automatically in local system.
Your ideas will be so helpful!
Thanks a ton in Advance!
Solution 1:[1]
Please try to add '$value' after '/Files'
Here is an example you can refer to:
https://xxxxx.sharepoint.com/sites/_api/web/GetFolderByServerRelativeUrl('test_library/lib')/Files('Document1.docx')/$value
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Zella_msft |

