Hi,
I want to be able to render both html and xml. By default html is rendered unless we add a format e.g. /myresource.xml. I want to render xml by default and only respond to .html format:
GET /myresource/ returns html
GET /myresource.xml returns xml
I would like:
GET /myresource/ returns xml
GET /myresource.html returns html
Is there an easy way to achieve this?
Regards,
Chris