Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
-53% $18.73$18.73
Ships from: Amazon Sold by: Pro Reads
Save with Used - Good
$8.88$8.88
Ships from: Amazon Sold by: Books For You Today
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity 1st Edition
Purchase options and add-ons
While the REST design philosophy has captured the imagination of web and enterprise developers alike, using this approach to develop real web services is no picnic. This cookbook includes more than 100 recipes to help you take advantage of REST, HTTP, and the infrastructure of the Web. You'll learn ways to design RESTful web services for client and server applications that meet performance, scalability, reliability, and security goals, no matter what programming language and development framework you use.
Each recipe includes one or two problem statements, with easy-to-follow, step-by-step instructions for solving them, as well as examples using HTTP requests and responses, and XML, JSON, and Atom snippets. You'll also get implementation guidelines, and a discussion of the pros, cons, and trade-offs that come with each solution.
- Learn how to design resources to meet various application scenarios
- Successfully design representations and URIs
- Implement the hypertext constraint using links and link headers
- Understand when and how to use Atom and AtomPub
- Know what and what not to do to support caching
- Learn how to implement concurrency control
- Deal with advanced use cases involving copying, merging, transactions, batch processing, and partial updates
- Secure web services and support OAuth
- ISBN-100596801688
- ISBN-13978-0596801687
- Edition1st
- PublisherO'Reilly Media
- Publication dateMarch 30, 2010
- LanguageEnglish
- Dimensions7 x 0.8 x 9.19 inches
- Print length316 pages
![]() |
Frequently bought together

Customers who bought this item also bought
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media; 1st edition (March 30, 2010)
- Language : English
- Paperback : 316 pages
- ISBN-10 : 0596801688
- ISBN-13 : 978-0596801687
- Item Weight : 2.31 pounds
- Dimensions : 7 x 0.8 x 9.19 inches
- Best Sellers Rank: #1,449,848 in Books (See Top 100 in Books)
- #176 in Client-Server Networking Systems
- #487 in Web Services
- #2,319 in Internet & Telecommunications
- Customer Reviews:
About the authors

Subbu Allamaraju is a platform architect at eBay. Since 2007, he has worked extensively on REST and HTTP, and compiled his experiences and learnings in the RESTful Web Services Cookbook. Prior to eBay, he worked at Yahoo! as a platform architect, initially driving their adoption of HTTP and REST for web services, and later Yahoo!'s social and cloud platforms. He also wrote several books on J2EE, published by Wrox, during his early years at BEA Systems Inc (now part of Oracle).

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Likewise, the theory behind REST being stateless and so fourth... you can get that from a simple youtube video.
What you DO need a book for is all these little details for how to design your API to follow best practices.
That is precisely what this book provides.
So I would recommend this as a first book for REST, combined with watching a few youtube videos. Afterwards I don't think you need any other books on REST. All the details you could ask for are here, and the rest is obvious.
It's a bit strange to call this a cookbook. It's more like... a series of problem-solution explanations with some example code. I suppose you can use the code, but the great value of this book comes from the concepts taught.
There is also some good information on presenting resources that are not nouns, nouns are easy right you have a collection of people for example, you want to list all the people and do CRUD operations on a particular person. This to me is classical rest and is strait forward to do, but what about verbs (not in the POST, DELETE http sense) but in the give me driving directions sense. The book covers this and actually uses driving directions as it's example.
There are a couple of issues I'm still trying to find covered in the book, like how to do pagination on a collection of resources correctly. There is at least one recipe on this, but I did not see how to indicate a default page size (ie I requested all user accounts, but only returned first 200 dues to size, how does the client know that 200 were returned)
The other thing is the proper way to use http get parameters in search and other limiting operations. It would be nice to have some basic recipes there, but to be fair I might just not have seen them yet.
All in all it's a nice addition to your technical library.
If you are looking for a book on how to use Python or Java or similar to create a REST web server, this is *not* the book for you. If you are heavy into JSON, look elsewhere, this book is XML-centric. If you are trying to understand HTTP/XML from first principles, and build the very best REST platform you can, you have come to the right place.
Picking this book up after a recommendation from an HN reader, I got 4 chapters in before the smoke cleared in my brain and I had multiple "Ah ha!" moments such that the whole concept cleared up for me in a matter of days.
It could be the writing style or presentation, but I just found it really easy to digest and answering all my questions as they popped up in my head.
An excellent resource for anyone else working on RESTful API design.
I purchased this book to go along with learning WCF and creating services for Android and iOS. I knew it is not an introduction to REST. I use it to help supplement what I learn. By seeing the practical implementations, with context, in this book, I get a better understanding of how to implement REST services and how the "theory" of REST works in actual software systems. I also find it useful to rely on this book for relatively common operations. It is a great way to get started with developing RESTful services.
I appreciate what this book offers. It provides a starting point for developing REST services for those who are familiar with REST but want to get started quickly. It is also similar to a design patterns book in that it describes solutions to common problems. In this way, the book allows you to skip solving the basic problems. Instead, you can adapt the solutions provided in the book to your specific situations.
Top reviews from other countries
REST is somewhat abstract, and there's no absolute right way or wrong way. Plus there's many many facets of REST that you have to consider when designing your service.
And that's where this book comes in... in an abstract realm, it gives you wonderfully concrete guidance in the form of Recipes. How to do this. When to do that. Covering the main areas of concern - Uniform Interface, Resources, Representations, URIs, Linking, Atom, Content Negotiation, Queries, Caching, Security and more - there are a decent number of recipes per area that cover all the common questions and concerns that service designers have.
I wanted to know how to evaluate whether Atom Syndication Format would be a good fit for my service... there's a recipe for that. I wanted to know how exactly to implement caching and conditional requests - there are multiple recipes for that.
Plus there are warnings about pitfalls that could save your service... I was going to put crucial information (an API key) in a custom HTTP header, but this book informed why that's a really bad idea.
In short, this book is just essential for all REST service designers and implementors. It currently sits to the side of my monitor, and I consult it many times a day when I'm working on our REST service. You're not going to want to read it from start to finish though: it's purely a reference book... an incredibly useful and practical reference book.
One more thing: it pleases me to see that the wonderful Mike Amundsen contributed to ten of the recipes. Mike's a key thinker in this area, and toilers in the RESTful fields should get to know his work.










