annotate tests/test.ur @ 1:c230e6da3ff6

Discovered LiveJournal endpoint
author Adam Chlipala <adam@chlipala.net>
date Sun, 26 Dec 2010 13:10:36 -0500
parents 3c209338e596
children b757dc2bd2f6
rev   line source
adam@1 1 fun discover r =
adam@1 2 code <- Openid.discover r.Id;
adam@1 3 return <xml><body>
adam@1 4 Code: {[code]}
adam@1 5 </body></xml>
adam@1 6
adam@1 7 fun main () = return <xml><body>
adam@1 8 <form>
adam@1 9 <textbox{#Id}/>
adam@1 10 <submit action={discover}/>
adam@1 11 </form>
adam@1 12 </body></xml>