http://web2py.com/books/default/chapter/29/10?search=.json#HTML,-XML,-and-JSON
On Friday, 25 May 2012 23:55:17 UTC+1, bob wrote: > > Probably a simple question and I searched both the docs and the group. > > I have a path /api and I never want to return a html reply, I'm ok with > a .xml or .json reply and would like to have the default be .xml > > The big issue is that I want other urls (i.e. /default/) to return html > as the default. > > thanks, > bob >

