PROPFIND: Difference between revisions
From Davical
Jump to navigationJump to search
(Created page with " curl --request PROPFIND --header "Depth: 2" --data-ascii "<D:propfind xmlns:D=\"DAV:\"><D:getetag/></D:propfind>" --user "USER:PASS" https://SERVER/caldav.php") |
(Add the missing <D:prop></D:prop> tags and wrap the lines.) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
=List available resources using propfind= | |||
curl --request PROPFIND --header "Depth: 2" --data-ascii "<D:propfind xmlns:D=\"DAV:\"><D:getetag/></D: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 |
Latest revision as of 21:56, 12 November 2018
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