Confluence Server 7.16 Rest API update content


I’m using confluence server 7.16.4 and I’m trying to update the page content via rest api. Even I use the documentation provided at
I always get a status 400, Bad Request.
Any idea how I can get closer of what is going wrong?
Thanks in advance