Marak/webservice.js — Issue #36: Override response's template
Author: Ralt
Created: 2012-01-27 09:05:20+00:00
State: open

Hi,

I'd like to be able to create a template to use for a specific response when defining a custom content-type. For example, when calling an .html URL, I'd like to use a specific template.

This'd basically allow me to use webservice.js exclusively for a website, with a fallback to plain HTML for search engine spiders or just users without JS.

Any idea on how I could do this?