[APIs] Requesting properties with PROPFIND

Hi there,

as written on the documentation, I ‘can request additional properties by sending a request body with the PROPFIND request that lists all requested properties’; nonetheless, I don’t know how set the request string to do so.

I use CURL and the string I have to edit is:

curl -s -u username:password -X PROPFIND "https://next.azienda.eu/remote.php/dav/files/username/Photos"

and the additional properties I trying to get are fileid and has-preview

Any solution?
Thanks in advance!

I think you have to add body with request XML or JSON. Have a look here:

In the same file you can find example with JSON: