REST interface test