Buy new:
-53% $18.73
FREE delivery Thursday, August 22 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: Pro Reads
$18.73 with 53 percent savings
List Price: $39.99

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Thursday, August 22 on orders shipped by Amazon over $35
Only 1 left in stock - order soon.
$$18.73 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$18.73
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$8.88
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Wednesday, August 21 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Friday, August 16. Order within 4 hrs.
Only 1 left in stock - order soon.
$$18.73 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$18.73
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

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.

QR code to download the Kindle App

Follow the authors

Something went wrong. Please try your request again later.

RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity 1st Edition

4.3 4.3 out of 5 stars 89 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$18.73","priceAmount":18.73,"currencySymbol":"$","integerValue":"18","decimalSeparator":".","fractionalValue":"73","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"G%2F4ZsFnAbpcoJTx5iicckr6UZhLTOtXhq0jkWTGBCJUFA7fgd%2BzdAvov0NO%2B%2F4pBVSntuxYAeMOEgfbtGyoGGCu%2FonVFQ4XwD4ylYhgQMgkLs%2BQi0VUl%2FiAY5sZJMw5B%2FguD%2BW0NZ5ffvl79V41qdOSbzBiq6AVQp4Y2ZWu8mL5JPuWBDlIYU%2Fzu3zIJ00yb","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$8.88","priceAmount":8.88,"currencySymbol":"$","integerValue":"8","decimalSeparator":".","fractionalValue":"88","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"G%2F4ZsFnAbpcoJTx5iicckr6UZhLTOtXhdE0Jm6RfJCVbMPC5j4qXviJSzJowsAmbE3Ixs%2F%2FlkXkQWTHyZ4PsYsTxjtYwFaCNTJgTRHrsIAOzkLvOSUvqB6jia7kjlbc%2Fl7%2Bgf7%2BGF6WKHkhHSAnoT4DqdRe4FvzNgvBISJwmpH1IqXjNYHJXmXBUNKSe2xZ5","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

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

Save time and resources when buying books in bulk. Your Company Bookshelf Save time and resources when buying books in bulk. Your Company Bookshelf

Frequently bought together

This item: RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity
$18.73
Get it as soon as Thursday, Aug 22
Only 1 left in stock - order soon.
Sold by Pro Reads and ships from Amazon Fulfillment.
+
$21.48
Get it as soon as Tuesday, Aug 20
In Stock
Ships from and sold by Amazon.com.
+
$31.35
Get it as soon as Tuesday, Aug 20
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

Editorial Reviews

About the Author

Subbu Allamaraju is a Principal Member of Staff at eBay. See linkedin.com/in/subbu for his latest profile.

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
  • Customer Reviews:
    4.3 4.3 out of 5 stars 89 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.3 out of 5 stars
89 global ratings

Top reviews from the United States

Reviewed in the United States on February 2, 2021
A simple implementation of a REST API isn't that complicated. You can youtube a tutorial on the subject and get a basic idea pretty quickly. To get the general idea, you don't need an entire book explaining it to you.
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.
2 people found this helpful
Report
Reviewed in the United States on March 18, 2010
I have not made it through the whole book, but my first impressions are really good. One of the interfaces we were designing for work is to time consuming to wait for a http response, in the first chapter of this book it gives you the way to do Asynchronous requests correctly with rest.

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.
23 people found this helpful
Report
Reviewed in the United States on November 14, 2016
A unique book, and not what I expected. Not like any other book on any subject that I have come across. Goes through problems and describes solutions one by one. A different but very powerful teaching style. Does a great job describing *exactly* why you want to follow the very best industry practices established for HTTP/XML. Also works as a good reference to look up selected subjects.

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.
16 people found this helpful
Report
Reviewed in the United States on August 3, 2011
I had been following "What is REST" tutorials online for the last few weeks as I was working on an API for an upcoming SaaS product. Unfortunately there were still some nitty-gritty details behind the tenants of RESTful design that weren't clicking in my brain, making it hard for me to really grok if I was following the intended design guidelines correctly or just faking it like so many other services do.

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.
37 people found this helpful
Report
Reviewed in the United States on December 16, 2020
It would be nice if the examples are updated to include Json representation of objects in the response, rather than xml .
Reviewed in the United States on October 29, 2014
This book provides Web API solutions for just about any problem you may be facing. It can be used as a reference book or selectively read to give you an extensive lesson in the capabilities of Web API. All of the solutions are easily accessed on GitHub. I would recommend this book to anyone just getting started as well as the seasoned web service developer.
Reviewed in the United States on July 18, 2014
Returned because it was the wrong book.
One person found this helpful
Report
Reviewed in the United States on October 5, 2010
This book is not for learning what REST is or how to get started with REST in a particular technology (like WCF). Instead, as written in the book, it is for designers and developers of RESTful services. However, that does not mean beginners should avoid it. For me, it's quite the opposite. I find this book very useful while I'm learning REST.

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.
10 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Vilain François
5.0 out of 5 stars Parfait
Reviewed in France on May 27, 2017
Je l'ai encore lu il y a quelques mois, toujours d'actualités, ca va faire 3x et ca me sert toujours... C'est rare pour un livre d'informatique
Reza Mir
5.0 out of 5 stars A good book for novice and experienced web developers
Reviewed in Canada on May 22, 2012
This book simply describes the RESTful web design and semantics. By reading this book you will find the mistakes that even experienced web developers do and after reading the book you will find yourself at a different level of knowledge which will be very helpful in your next web development. I highly recommend this book to web developers who want to design and develop an scalable system.
A Reader
5.0 out of 5 stars Worth its weight in gold
Reviewed in the United Kingdom on November 19, 2011
This book is for those who understand what REST is, understand the importance of the hypermedia constraint, have maybe read "REST in Practice" (my recommended background reading), have read probably a hundred blog posts about REST... and are still slightly unsure about how to actually do it, when it comes down to the nitty-gritty detail. If you feel like that, join the club.

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.
4 people found this helpful
Report
Tim
5.0 out of 5 stars Fantastic resource for solving real world problems RESTfully.
Reviewed in the United Kingdom on September 8, 2015
This is without doubt one of the most useful books I have found on RESTful Web Services and I constantly refer to it during my application design. Apart from being clear and well written, the best thing about this book is that it takes dozens of of examples of everyday business programming problems that you may have solved on other systems and explains how to achieve the same thing in a RESTful way. I found this book especially useful coming from a legacy background, many books give simple examples but fail to explain how to solve real-world business problems, which is where this book excels.
Dimitris
2.0 out of 5 stars A typical O 'Reilly book
Reviewed in the United Kingdom on March 16, 2015
This is a simple reference book that is poor, not relevant if you want to design and develop RESTful web services from scratch and extremely disappointing as text. Fed up with this continuous stream of books from O'Reilly that try to get to the latest technology trend and monetise.
2 people found this helpful
Report