Quick and dirty REST API implementation