Skip to main content

XML.com: How to Create a REST Protocol

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 30 people (5 private), first by anonymouse user on 2006-03-02


Public Comment

on 2006-07-25 by jcbuffington

This article outlines a series of steps you can follow in creating your protocol--guidance that will help you get all the benefits that REST has to offer, while avoiding common pitfalls.

on 2006-07-31 by ziller

he explains how to use the REST architectural style to create an application protocol with web-like properties.

on 2006-10-25 by sentience

Joe Gregorio explains how to use the REST architectural style to create an application protocol with web-like properties.

Public Sticky notes

HTTP Method CRUD Action Description POST CREATE Create a new resource GET RETRIEVE Retrieve a representation of a resource PUT UPDATE Update a resource DELETE DELETE Delete a resource

Highlighted by ratbeard

HTTP Method CRUD Action Description POST CREATE Create a new resource GET RETRIEVE Retrieve a representation of a resource PUT UPDATE Update a resource DELETE DELETE Delete a resource

Highlighted by ratbeard

HTTP Method CRUD Action Description POST CREATE Create a new resource GET RETRIEVE Retrieve a representation of a resource PUT UPDATE Update a resource DELETE DELETE Delete a resource

Highlighted by ratbeard

Review

Let's review. To build a good REST service you need to answer the following questions:

  1. What are the URIs?
  2. What's the format?
  3. What methods are supported at each URI?
  4. What status codes could be returned?

And that's all there is to it. You don't believe me? Good, because it's not true. There's lots more to discuss, like compression, etags, caching, extensibility, idioms, and implementations. See you next month.

Highlighted by skarkar