add a simple REST service sample.