April 21, 2024
Apple Announces CloudKit Support for Server-to-Server Web Service Requests

Apple Announces CloudKit Support for Server-to-Server Web Service Requests

Posted February 5, 2016 at 10:06pm by iClarified
Apple today announced that CloudKit now supports server-to-server web service requests.

"In addition to providing a web interface for users to access the same data as your app, you can now easily read and write to the CloudKit public database from a server-side process or script with a server-to-server key."

Composing Web Service Requests
CloudKit web service URLs have common components. Always begin the endpoints with the CloudKit web service path followed by database, the protocol version number, container ID, and environment. Then pass the operation subpath containing the credentials to access CloudKit using either an API Token or server-to-server key.


Use an API Token from a website or an embedded web view in a native app, or when you need to authenticate the user, described in Accessing CloudKit Using API Tokens. If the request requires user authentication, use the information in the response to authenticate the user. Use a server-to-server key to access the public database from a server process or script, described in Accessing CloudKit Using a Server-to-Server Key.

Developers can learn how to generate a server-to-server key at the link below...

Read More


Apple Announces CloudKit Support for Server-to-Server Web Service Requests


Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments
You must login or register to add a comment...
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS