Patrice Mandin - 2020-09-24

Arg, did not check with preview, 1 should be:

curl -v \
-T curl-vcard.txt \
-H "Content-Type: text/vcard; charset=utf-8" \
--request PUT \
--user (email):(password) \
http://(davmailurl):60080/users/(email)/contacts/T%20E%20S%26amp%3BT.vcf

and 3 (querying contacts) should be:

curl -v \
--request PROPFIND \
--header "Content-Type: application/xml; charset=utf-8" \
--header "Depth: 1" \
--data @curl-query.xml \
--user (email):(password) \
http://(davmailurl):60080/users/(email)/contacts/