I've been trying to recieve the iCloud contacts related to my Apple Id, but for some reason it doesn't work. I'm getting a (404) Not Found error.
I know iCloud uses CardDAV and that you need a specific URL address in order to access your Contacts.
For the CardDAV client I used the following: https://github.com/Metric/CardDavNet For the server address I tried multiple url's (ofcourse MYUSERID is my real user id):
https://p02-caldav.icloud.com/MYUSERID/carddavhome/card/ https://p02-contacts.icloud.com/MYUSERID/carddavhome/card/
What am I doing wrong? Am I using the correct server URL's or is there something else wrong? I hope someone can guide me into the right direction.