Attempting to retrieve a file from Sharepoint using guidance from this page
I can access these types of files programmatically(download them locally): "server/sites/site/folder/subfolder/myfile.xlsx"
has beeen annoyingly inaccessible for me - all I get is:
HTTP/1.1 401 Unauthorized
I can access the file in my browser without any issues. What am I missing here? I cannot find any references in the documentation nor online on what else to try here.
It is a requirement that I retrieve this file with a REST request and to download them locally.