Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


"Every developer working with the Web needs to read this book." -- David Heinemeier Hansson, creator of the Rails framework "RESTful Web Services finally provides a practical roadmap for constructing services that embrace the Web, instead of trying to route around it." -- Adam Trachtenberg, PHP author and EBay Web Services Evangelist You've built web sites that can be used by humans. But can you also build web sites that are usable by machines? That's where the future lies, and that's what RESTful Web Services shows you how to do. The World Wide Web is the most popular distributed application in history, and Web services and mashups have turned it into a powerful distributed computing platform. But today's web service technologies have lost sight of the simplicity that made the Web successful. They don't work like the Web, and they're missing out on its advantages. This book puts the "Web" back into web services. It shows how you can connect to the programmable web with the technologies you already use every day. The key is REST, the architectural style that drives the Web. This book:

  • Emphasizes the power of basic Web technologies -- the HTTP application protocol, the URI naming standard, and the XML markup language

  • Introduces the Resource-Oriented Architecture (ROA), a common-sense set of rules for designing RESTful web services

  • Shows how a RESTful design is simpler, more versatile, and more scalable than a design based on Remote Procedure Calls (RPC)

  • Includes real-world examples of RESTful web services, like Amazon's Simple Storage Service and the Atom Publishing Protocol

  • Discusses web service clients for popular programming languages

  • Shows how to implement RESTful services in three popular frameworks -- Ruby on Rails, Restlet (for Java), and Django (for Python)

  • Focuses on practical issues: how to design and implement RESTful web services and clients

This is the first book that applies the REST design philosophy to real web services. It sets down the best practices you need to make your design a success, and the techniques you need to turn your design into working code. You can harness the power of the Web for programmable applications: you just have to work with the Web instead of against it. This book shows you how.

Subscriber Reviews

Average Rating: 3.769230769230769 out of 5 rating Based on 13 Ratings

"Could be around 75% shorter" - by Mike on 19-JUN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Some useful info.

Add a star if you think Ruby is the future of computing...

Report as Inappropriate

"Looks good, wish I knew ruby" - by Perry Tew on 03-AUG-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I saw Java in the overview, but I quit a few chapters in because I couldn't find any.  I guess it's later on.   When a book trumpets multiple languages, I'd like to see each example in those languages.  I lost interest when I kept encountering ruby examples.

Report as Inappropriate

"Good overview of REST design, etc." - by Alex Ott on 20-JUL-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Too long, with many not necessary (imho) details. Although there are chapters, that provides good description of REST concepts & how to design REST services
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for RESTful Web Services

  • Catalog Page

Visit the errata page for RESTful Web Services

  • Errata

Download the supplemental electronic content for RESTful Web Services

  • Supplemental Content