8 ms·
By coincidence, I was trying to test out this exact thing yesterday and was having trouble with authentication. Does anyone know what they mean by "ISO8601" in
by jvz 11y ago
By coincidence, I was trying to test out this exact thing yesterday and was having trouble with authentication. Does anyone know what they mean by "ISO8601" in their instructions for building an HTTP API request[1]? AFAIK there are a few different date formats that would qualify (e.g. with or without hyphens).
[1] https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/CloutKitWebServicesReference/SettingUpWebServices/SettingUpWebServices.html#//apple_ref/doc/uid/TP40015240-CH24-SW9 https://developer.apple.com/library/ios/documentation/DataMa...
- bluecloud1 11y agoAn example date format is 2016-01-25T22:15:43Z. Also note that you don't have to manually configure and sign the requests yourself, you can simply use CloudKit JS with Node.js. A sample script has been published at https://developer.apple.com/library/ios/samplecode/CloudAtlas/Listings/Node_node_client_s2s_README_md.html#//apple_ref/doc/uid/TP40014599-Node_node_client_s2s_README_md-DontLinkElementID_20 https://developer.apple.com/library/ios/samplecode/CloudAtla...
- jvz 11y agoThanks, though I'm still getting authentication errors. I don't want to use the JS library since I'm not working in Javascript. I'd kill for a working code sample, in any language. I tried looking at the JS source, but it's minified and thus quite hard to read.
- ianlevesque 11y agoI happen to be working on a client in C# at the moment, I'll open source it soon.
- bluecloud1 11y agoThe answers here might be helpful: http://stackoverflow.com/questions/35247436/cloudkit-server-to-server-authentication/35254094 http://stackoverflow.com/questions/35247436/cloudkit-server-...