Free Support Forum -

Update Word Document Metadata (e.g. author name) with Aspose.Words Cloud REST API

When I use GET DocumentProperties to retrieve the author name in a document, it works correctly.

But when I use PUT DocumentProperties to replace the author name in a document, the API returns a 400 Bad Request error. Is this expected behavior? If so, when will we be able to change authors via the REST API, as we can with the desktop version of Aspose.Words?

Hi Mike,

Thank you for your interest in our Aspose.Words for Cloud product. I would like to update you that you can set a document property by using a PUT method. Bad request (400) means improperly-formatted request. Please follow up the documentation page here. In case, it does not work for you then please share your source code and platform. We will take a closer look and guide you accordingly.