Working simple REST API