Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iCloud compatible #15

Open
kjones1876 opened this issue Aug 13, 2012 · 6 comments
Open

iCloud compatible #15

kjones1876 opened this issue Aug 13, 2012 · 6 comments

Comments

@kjones1876
Copy link

Replace

    curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_ANY);

to
curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);

To make it iCloud compatible, this should be in the notes somewhere.

@MaZderMind
Copy link

Hi kizzie33,

can you give some information about which url you used to connect to icloud?

Thank you!
Peter

@adamoc
Copy link

adamoc commented Apr 17, 2014

Thanks @kizzie33 - this worked for ownCloud as well.

@JosephP91
Copy link

I have the same problem with iCloud. I use contacts.icloud.com as url and my @icloud.com to authenticate, but server returns 403.

@rashnk
Copy link

rashnk commented Feb 23, 2016

Wher is @kizzie33 's solution , i cant find here ??

@kjones1876
Copy link
Author

@rashnk curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); was my fix. However that was a fix 4 years ago, so many not work anymore...

@rashnk
Copy link

rashnk commented Feb 23, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants