PROPFIND: Difference between revisions

From Davical
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
=List available resources using propfind=
=List available resources using propfind=
==Only this user
==Only this user=
  curl --request PROPFIND  --user "USER:PASS" https://SERVER/caldav.php  
  curl --request PROPFIND  --user "USER:PASS" https://SERVER/caldav.php  


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

Revision as of 12:33, 17 September 2013

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:getetag/></D:propfind>"  --user "USER:PASS" https://SERVER/caldav.php