Programming Erlang Ch25. Cowboy tutorial.