Routing server side with REST sample