Hi all,
Does anyone have experience with using the HTTP client to call REST APIs in SharePoint? I have some of the APIs working, but I'm struggling to upload a JPEG with GetFolderByServerRelativeUrl/files/add. I am converting the JPEG to BASE64 and adding it to the request payload, but it doesn't get converted back to a JPEG in Sharepoint (it has the right name, but it contains the BASE64 string rather than the "real" JPEG data).
TIA
Does anyone have experience with using the HTTP client to call REST APIs in SharePoint? I have some of the APIs working, but I'm struggling to upload a JPEG with GetFolderByServerRelativeUrl/files/add. I am converting the JPEG to BASE64 and adding it to the request payload, but it doesn't get converted back to a JPEG in Sharepoint (it has the right name, but it contains the BASE64 string rather than the "real" JPEG data).
TIA