Open kjones1876 opened 12 years ago
Hi kizzie33,
can you give some information about which url you used to connect to icloud?
Thank you! Peter
Thanks @kizzie33 - this worked for ownCloud as well.
I have the same problem with iCloud. I use contacts.icloud.com as url and my @icloud.com to authenticate, but server returns 403.
Wher is @kizzie33 's solution , i cant find here ??
@rashnk curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
was my fix. However that was a fix 4 years ago, so many not work anymore...
hi, im getting the response as below Array ( [response] => /1015fd8757/carddavhome/ /10159028767/carddavhome/card/62BB0C5A-7DAA-4E69-A159-C7DE81752ABE.vcf "C=0@U=6d2b4072-9b55-45b5-b7aa-844a5fe2d7b1" 0 Wed, 10 Feb 2016 05:47:14 GMT 2016-02-08T10:13:37Z FT=-@RU=6d2b4072-9b55-45b5-b7aa-844a5fe2d7b1@S=6 HTTP/1.1 200 OK [http_code] => 207 )
the contacts data is not printed, but with owncloud it works well
Replace
to curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
To make it iCloud compatible, this should be in the notes somewhere.