nit: Added link to `CONTRIBUTING.md` from the README
[nit.git] / lib / popcorn / tests / res / test_example_post.res
1
2 [Client] curl -s localhost:*****/ -X POST
3 URI: /
4 Body: 
5
6 [Client] curl -s localhost:*****/ --data 'user'
7 POST Error: user format error on user
8 URI: /
9 Body: user
10
11 [Client] curl -s localhost:*****/ --data 'user=Morriar'
12 URI: /
13 Body: user=Morriar
14 user: Morriar
15
16 [Client] curl -s localhost:*****/ --data 'user=&order=desc'
17 URI: /
18 Body: user=&order=desc
19 user: 
20 order: desc
21
22 [Client] curl -s localhost:*****/ --data 'user=Morriar&order=desc'
23 URI: /
24 Body: user=Morriar&order=desc
25 user: Morriar
26 order: desc
27
28 [Client] curl -s localhost:*****/
29                 <!DOCTYPE html>
30                 <html>
31                 <head>
32                         <meta charset="utf-8">
33                         <title>Not Found</title>
34                 </head>
35                 <body>
36                 <h1>404 Not Found</h1>
37                 </body>
38                 </html>