Added rest get handler.