News for hackers. Stuff that matters.
Re:The RESTful CookBook by icebraining on Monday April 01, 2013 @06:58AM (#5472341)
I'm a big REST fan, but I think using a different mediatype is only important if the format is (or can become) generic and used by other services. For example, if you're serving a GeoJSON document, which is a open format used by many services, it makes sense to use a specific mediatype. If, on the other hand, the format is totally custom to your service, I don't really see the point, since the client parsing it must be custom too.

The only advantage I can see to using custom mediatypes is if you want to do versioning (+v1, +v2, etc).

There are no comments on this comment yet.