mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Add a POST echo example
This commit is contained in:
parent
370b3d9648
commit
73c07376bb
9 changed files with 145 additions and 0 deletions
12
examples/echo_post/src/echo_post.erl
Normal file
12
examples/echo_post/src/echo_post.erl
Normal file
|
@ -0,0 +1,12 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
-module(echo_post).
|
||||
|
||||
%% API.
|
||||
-export([start/0]).
|
||||
|
||||
%% API.
|
||||
|
||||
start() ->
|
||||
ok = application:start(cowboy),
|
||||
ok = application:start(echo_post).
|
Loading…
Add table
Add a link
Reference in a new issue