Download a .pdf file from a SharePoint Online list using Bearer token via Postman?

时间:2018-07-25 04:38:41

标签: postman sharepoint-online

I have access token and link to the pdf file that is hosted in sharepoint list, I can download the file using web browser when I am logged in using the service account. However, If I pass the same URL via Postman with Bearer token and application/pdf as headers it gives 401. Is it even possible to download the file using this way, or is there anything else I have to do to make it work. I am clicking the Send & Download button while making the request.

0 个答案:

没有答案