rest service working without back end