21. Web Services

Many of today’s apps have some level of integration with Web servers and services hosted on the Internet. There are many reasons why an iPad app might need to talk with a Web server. For instance, the app might need to download an image or a movie file, or perhaps it needs to upload a file to a server. Other examples include calling a Web service to perform calculations, to update leaderboards, or to request data that gets displayed in your app. Whatever the reason may be, chances are good that one day you will need to incorporate Web services into your app.

This chapter provides a basic introduction to using Web services. The focus is on the most common type of Web services in use today: RESTful Web services. This chapter does ...

Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.