Re:Dudes, this is so not REST
by Darrel on Tuesday March 15, 2011 @07:54PM
(#2330031)
As soon as you decide to create two URLs such as /user/1.json and /usr/1.html you are creating two distinct resources. The litmus test for determining if two URLs refer to the same resource is you do a GET on both and only one of them returns a 200 the other returns a 303 with the Location header set to the URL that returned a 200.
[ Parent
| on HN ]
There are no comments on this comment yet.