Should the representation(html, xml, json) returned by a RESTful web service be determined by the url or by the Accept HTTP header?
Use the Accept header if provided, URI as a failover.