aboutsummaryrefslogblamecommitdiffstats
path: root/test/handlers/hello_h.erl
blob: 5e3dcc803c26b6a6065adf10212b261419b63463 (plain) (tree)
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}.