Erlang rest example.