lib/popcorn: move examples tests to nice and tidy tests/ directories.
[nit.git] / lib / popcorn / examples / handlers / tests / test_example_post_handler.res
1
2 [Client] curl -s localhost:*****/ -X POST
3 URI: /
4 Body: 
5
6 [Client] curl -s localhost:*****/ --data 'user'
7 URI: /
8 Body: user
9
10 [Client] curl -s localhost:*****/ --data 'user=Morriar'
11 URI: /
12 Body: user=Morriar
13 user: Morriar
14
15 [Client] curl -s localhost:*****/ --data 'user=&order=desc'
16 URI: /
17 Body: user=&order=desc
18 user: 
19 order: desc
20
21 [Client] curl -s localhost:*****/ --data 'user=Morriar&order=desc'
22 URI: /
23 Body: user=Morriar&order=desc
24 user: Morriar
25 order: desc
26
27 [Client] curl -s localhost:*****/
28                 <!DOCTYPE html>
29                 <html>
30                 <head>
31                         <meta charset="utf-8">
32                         <title>Not Found</title>
33                 </head>
34                 <body>
35                 <h1>404 Not Found</h1>
36                 </body>
37                 </html>