O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

28 Web Services

It is common for an application to need information from somewhere beyond the user’s computer. The easiest way to make that information available is to put it on a web server and publish the URL that provides the desired information. Web servers communicate using HTTP or HTTPS.

HTTP (Hypertext Transfer Protocol) was originally designed for serving HTML documents for rendering in a web browser. As the web’s popularity soared, so did creative uses of HTTP. Today, HTTP is commonly used not only to serve content for web browsers, but also structured data for any software that speaks HTTP. In this chapter you will see the latter, but the concepts will be applicable to all web services.

Using a web service is simple: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required