First working REST API.