mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Add a more involved REST example
A pastebin type application that can optionally highlight the output as both text and HTML.
This commit is contained in:
parent
ae401f7460
commit
d7b83db92e
11 changed files with 303 additions and 0 deletions
15
examples/rest_pastebin/src/rest_pastebin.app.src
Normal file
15
examples/rest_pastebin/src/rest_pastebin.app.src
Normal file
|
@ -0,0 +1,15 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, rest_pastebin, [
|
||||
{description, "Cowboy REST Pastebin example inspired by sprunge."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, []},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {rest_pastebin_app, []}},
|
||||
{env, []}
|
||||
]}.
|
Loading…
Add table
Add a link
Reference in a new issue