Content Negotation vs. Extensions

From: Stefan Tilkov <>
Date: Thu, 26 Apr 2007 12:11:53 +0200

I know the "right" way to do return different representations of a
resource is via content negotiation. Still, in many cases it's
perceived to be easier to use different extensions for different types.

E.g. I could do a GET on to get the
default representation, say in HTML, and use
customers/4711.xml to get an XML representation. Whether this is
"good" or "bad" doesn't really matter IMO; it's going to definitely a
common approach. How do we address this?

Stefan Tilkov,