Mercurial > urweb
comparison tests/pb.ur @ 2211:ef766ef6e242
Merge.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sat, 13 Sep 2014 19:16:07 -0400 |
parents | 04d7d563a36f |
children |
comparison
equal
deleted
inserted
replaced
2210:69c0f36255cb | 2211:ef766ef6e242 |
---|---|
1 fun api_1 (pb:postBody) (nm:string) : transaction page = | |
2 return <xml>Processing the request</xml> | |
3 | |
4 fun api (pb:postBody) (v:int) (nm:string) : transaction page = | |
5 case v of | |
6 1 => api_1 pb nm | |
7 | _ => error <xml>Version {[v]} is not supported</xml> |