|
|
|
|
|
by psadauskas
5810 days ago
|
|
Can I have a few more upvotes please? This is the only way to do it. There's currently two root posts above this one advocating the incorrect way, with versions in the URL. By doing it this way, you don't break links when you want to bump versions. Or if you have a single resource with an incompatibility, you can just upgrade the version of it, and leave all the others the same, without having to change anything, or your clients having to change theirs, either. I wrote a blog post about this awhile back, please see point #4: http://blog.theamazingrando.com/your-web-service-might-not-b... (apologies for the formatting, I just imported it to Posterous, and it seems their styles aren't quite right) Also, a former coworker of mine wrote a series of posts about this topic as well:
http://barelyenough.org/blog/2008/05/versioning-rest-web-ser...
http://barelyenough.org/blog/2008/05/versioning-rest-web-ser...
http://barelyenough.org/blog/2008/05/resthttp-service-versio... |
|