Can't access data through WebDAV and curl


I am trying to access my files through curl as shown in the documentation about WebDAV:

 curl -X PROPFIND -H "Depth: 1" -u user:pass

But I get nothing and no error is shown.
And I can access my files through webdav in my file manager though.
None of the cURL examples shown in documentation works for me.