228ceba
1 2 3 4 5 6 7 8
%% This module sends a hello world response. -module(hello_h). -export([init/2]). init(Req, Opts) -> {ok, cowboy_req:reply(200, [], <<"Hello world!">>, Req), Opts}.