Using following way to rename the the folder but it rturns status code 204 and does not change the folder name.
url: http://site url/_api/web/GetFolderByServerRelativeUrl('/Folder Name')
method: POST
body: { '__metadata': { 'type': 'SP.Folder' }, 'Name': 'New name' }
Headers:
Authorization: "Bearer " + accessToken
X-RequestDigest: form digest value“IF-MATCH”: etag or “*”
“X-HTTP-Method”:”MERGE”,
accept: "application/json;odata=verbose"
content-type: "application/json;odata=verbose"
content-length:length of post body1. Is it possible to rename the folder using REST APIs?
2. Is it possible to move folder using REST APIs?
3. Is it possible to copy folder using REST APIs?