PROPFIND

From Davical
Revision as of 22:56, 12 November 2018 by AndrewRuthven (talk | contribs) (Add the missing <D:prop></D:prop> tags and wrap the lines.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

List available resources using propfind

Only this user

curl --request PROPFIND  --user "USER:PASS" https://SERVER/caldav.php 

Show all user has access to

curl --request PROPFIND --header "Depth: 2" \
  --data-ascii "<D:propfind xmlns:D=\"DAV:\"><D:prop><D:getetag/></D:prop></D:propfind>" \
  --user "USER:PASS" https://SERVER/caldav.php