I am trying to update the fields of a just uploaded SharePoint document.
To upload the file, I POST to the following endpoint:
I then GET the file after uploading is complete:
Where I'm struggling is in updating the fields of the uploaded file.
"_api/web/GetFileByServerRelativeUrl('/sites/dodrc/DropOffLibrary/" + fileName + "')"
I have tried to MERGE a slightly modified JSON object, and a SharePoint file model (with updated fields), but I keep receiving bad request (400) error messages.
I have also attempted to Google my question, but I'm not finding much in the way of useful results.
Any help would be much appreciated!