Mercurial > urweb
view tests/pb.ur @ 2072:d77b0665ba7c
Default to parsing time strings with the application-configured format
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 20 Sep 2014 13:55:25 -0400 |
parents | 04d7d563a36f |
children |
line wrap: on
line source
fun api_1 (pb:postBody) (nm:string) : transaction page = return <xml>Processing the request</xml> fun api (pb:postBody) (v:int) (nm:string) : transaction page = case v of 1 => api_1 pb nm | _ => error <xml>Version {[v]} is not supported</xml>