vCard's tag in URI.

Monday, July 7, 2014

I need to upload Contact's information to the web server. I know that it can be done using HTTP PUT approach. Also API from Address Book Programming guide, even some wrappers (such as RHAddressBook), allow us to generate NSData from Person's contact information.


I detected by WireShark how it is done on one of the servers.


For instance the part of URI for creating(uploading) vCard is this:


.../default/17b0dff5-5145-4515-85c0-5eb56f225f12.vcf


How to generate that tag(17b0dff5-5145-4515-85c0-5eb56f225f12)? How it is calculated from vCard's data?







http://ift.tt/VyLgue