I have an application where a user creates settings that are stored in an NSMutableDictionary. I have to send this to a server, where it can be later retrieved by a recipient.
I can serialize the dictionary, and send it to the server. My question is, if I send it as NSData, store it in a blob field in my postgresql db, and then send it back when requested, is it as simple as using [NSDictionary initWithContentsOfURL]? Is there anything I need to worry about on the server side? http headers sending and receiving?
If I send it as NSDictionary -> serializedData -> xml, so that other devices than iPhones can use it, is there a simple way to recreate the NSDictionary from the xml, or should I store both xml and data, and send the one requested?