I'm considering rewriting some (or all) of a small project in Ur/Web to
see how it goes.  It currently exposes a JSON API, and I'd like to
maintain that.

Unfortunately, AFAICT, public functions returning "transaction page",
and only such functions, are exposed as routes.  So I have to return
JSON wrapped in XML, which is pretty ugly (and breaks compatibility with
what I've got).  It wouldn't be too hard to add a thin proxy to strip
this out, but I thought I'd check first if there's any support in Ur/Web
for serving non-XML pages.

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to