Simple cowboy-based REST service