[Ur] Returning non-HTML results to clients

Chris Double chris.double at double.co.nz
Sun May 22 06:04:08 EDT 2011


Is it possible to return non-HTML data from a page function? I'd like
to provide an API whereby a client can send a POST request containing
JSON data, and get the result as JSON. The first part I can see how to
do but I'm stuck with the second part. I want to return JSON with the
mime type application/json. Is this possible?

Chris.
-- 
http://ww.bluishcoder.co.nz



More information about the Ur mailing list