aboutsummaryrefslogblamecommitdiffstats
path: root/examples/README.md
blob: 1e7a55f20c2599f9218d3e67d890ac75b590669e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


               

                                
 





                                 


                                                                            




                                                             
Cowboy examples
===============

* [hello_world](./hello_world): 
simplest example application

* [echo_get](./echo_get):
parse and echo a GET query string

* [echo_post](./echo_post):
parse and echo a POST parameter

* [rest_hello_world](./rest_hello_world):
return the data type that matches the request type (ex: html, text, json...)

* [chunked_hello_world](./chunked_hello_world):
demonstrates chunked data transfer with two one-second delays

* [static](./static):
an example file server