Sign In/My Account | View Cart  
advertisement

Article:
 How to Create a REST Protocol
Subject: Comments
Date: 2004-12-02 07:40:22
From: Mark Baker

Nice Joe, but I disagree that #s 3 and 4 are part of the protocol; they just be work that needs to be done for the implementation of the service. Doing either of those in the protocol risks creating profiles of HTTP where clients only, for example, understand certain response code rather than those of HTTP itself. Consider a service which only ever returns 201; a client may be tempted never to check for 200, and would therefore barf if the service happened to use it in the future. That's why it's important to understand the fallback rules, i.e. that 2xx means "Success" even if you don't recognize the "xx" part.

No Previous Message Previous Message   Next Message Next Message


Full Text Titles Only Newest First
  • Comments
    2004-12-03 04:52:51 jgregorio

Sponsored By: