How to solve error 415 “Cannot update using multipart/form-data”

If you are trying to update a node’s content in Alfresco make sure you don’t set the content type as multipart/form-data.

From POSTMAN, just uncheck the Content-Type header.

From Java, if using HttpPut, set it to blank

httpPut.setHeader(HttpHeaders.CONTENT_TYPE, "");

This is just an easy hack to make it work.