Implement simple REST API for getting values.