0

I use a PUT sense/net Rest API to change DisplayName of a content. That request is success but the file size change to 0. So i cannot download that file.

Please give the way to resolve this problem

dinhienhy
  • 15
  • 6

1 Answers1

3

PUT means that DisplayName field will be set and the rest of the fields will be cleared. Use PATCH instead of PUT. Check this article

Aniko Litvanyi
  • 2,109
  • 1
  • 21
  • 25