0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00
cowboy/examples/README.md
2012-10-01 16:05:54 -07:00

20 lines
548 B
Markdown

Cowboy examples
===============
* [hello_world](./examples/hello_world):
simplest example application
* [echo_get](./examples/echo_get):
parse and echo a GET query string
* [echo_post](./examples/echo_post):
parse and echo a POST parameter
* [rest_hello_world](./examples/rest_hello_world):
return the data type that matches the request type (ex: html, text, json...)
* [chunked_hello_world](./examples/chunked_hello_world):
demonstrates chunked data transfer with two one-second delays
* [static](./examples/static):
an example file server